Skip to content

Say that get() timeout bounds the whole Block2 transfer - #133

Merged
QuiteYellow merged 1 commit into
mainfrom
docs/get-timeout-scope
Nov 13, 2026
Merged

QuiteYellow merged 1 commit into
mainfrom
docs/get-timeout-scope

Conversation

@QuiteYellow

Copy link
Copy Markdown
Owner

Follow-up to #131, docstring only.

  • timeout on get() bounds the whole transfer. Each block waits for the session rate limit (five a second by default), so a large max_blocks needs a longer timeout.
  • The per-call caps can be lower or higher than the defaults, so "raise" becomes "set".

docs/api.md is unchanged after regenerating.

The per-call max_blocks and max_payload_bytes from #131 set the caps, lower or higher, so the docstring says set, not raise. The timeout note follows the review on #131: one deadline covers every block, and each block waits for the session rate limit.

Publish-Approved: 2026-11-13T09:13:33+00:00
@QuiteYellow
QuiteYellow merged commit 37a2035 into main Nov 13, 2026
8 checks passed
@QuiteYellow
QuiteYellow deleted the docs/get-timeout-scope branch November 13, 2026 09:19
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.

1 participant