Skip to content

Avoid b2http retries for upload requests#412

Merged
olzhasar-reef merged 1 commit into
masterfrom
5xx-token-refresh
Dec 17, 2025
Merged

Avoid b2http retries for upload requests#412
olzhasar-reef merged 1 commit into
masterfrom
5xx-token-refresh

Conversation

@olzhasar-reef

@olzhasar-reef olzhasar-reef commented Dec 15, 2025

Copy link
Copy Markdown
  • Avoid http-level retries during upload requests

Comment thread b2sdk/_internal/b2http.py Outdated
This PR fixes the b2http logic to avoid any retries during the upload
requests. Previously, the http layer would still proceed with retries
during upload failures, preventing the upload manager from issuing a new
upload token.
There was a workaround only for timeout errors, but it didn't quite work as
expected.
@olzhasar-reef
olzhasar-reef merged commit a030d6b into master Dec 17, 2025
93 of 99 checks passed
@olzhasar-reef
olzhasar-reef deleted the 5xx-token-refresh branch December 17, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants