Skip to content

Commit 03ffc68

Browse files
authored
feat: support retrying 429 responses from IonQ (#235)
1 parent be6b5da commit 03ffc68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qiskit_ionq/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def __init__(self, cause):
7676
# Handle 52x responses from cloudflare.
7777
# See https://support.cloudflare.com/hc/en-us/articles/115003011431/
7878
_RETRIABLE_STATUS_CODES = {
79+
requests.codes.too_many_requests,
7980
requests.codes.internal_server_error,
8081
requests.codes.bad_gateway,
8182
requests.codes.service_unavailable,

0 commit comments

Comments
 (0)