Skip to content

add: default read_timeout value#447

Merged
Tishka17 merged 1 commit intoannetutil:mainfrom
basiday:add_default_read_timeout
Nov 17, 2025
Merged

add: default read_timeout value#447
Tishka17 merged 1 commit intoannetutil:mainfrom
basiday:add_default_read_timeout

Conversation

@basiday
Copy link
Copy Markdown
Contributor

@basiday basiday commented Oct 21, 2025

In most cases read_timeout should equal cmd_timeout. Setting it higher is pointless (cmd_timeout triggers first), setting it lower usually breaks user expectations (timeout=90 should mean 90 seconds total).

Users can still set different read_timeout if needed for special cases.

If read_timeout is None, set it to cmd_timeout value.

Requires annetutil/gnetcli_adapter#73

@Tishka17 Tishka17 closed this Oct 21, 2025
@Tishka17 Tishka17 reopened this Oct 21, 2025
@Tishka17 Tishka17 merged commit 33c3af4 into annetutil:main Nov 17, 2025
7 checks passed
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