Skip to content

Retry a failed connection in request - #3

Merged
jph00 merged 1 commit into
mainfrom
pr/retry-a-failed-connection-in-request
Sep 3, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/retry-a-failed-connection-in-request

Conversation

@jph00

@jph00 jph00 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

AsyncTransport.request and SyncTransport.request retry when the connection itself fails, ConnectTimeout or ConnectError, up to retries times (default 2) with a short backoff. Nothing has reached the server in that case, so the retry is safe. An error status, or a failure after the connection was made, is not retried. See the core notebook, section "AsyncTransport".

@jph00 jph00 added the enhancement New feature or request label Sep 3, 2026
@jph00
jph00 merged commit 2fff619 into main Sep 3, 2026
1 check failed
@jph00
jph00 deleted the pr/retry-a-failed-connection-in-request branch September 3, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant