Skip to content

feat: make connect timeout configurable#805

Merged
hatoo merged 3 commits intohatoo:masterfrom
ahmed-mekky:feat/configurable-timeout
Oct 2, 2025
Merged

feat: make connect timeout configurable#805
hatoo merged 3 commits intohatoo:masterfrom
ahmed-mekky:feat/configurable-timeout

Conversation

@ahmed-mekky
Copy link
Copy Markdown
Contributor

added connect-timeout option and updated README.md to match the latest updates

src/lib.rs Outdated
help = "Timeout for establishing a new connection. Default to 5s.",
long = "connect-timeout"
)]
connect_timeout: Option<humantime::Duration>,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default value should be set here.

Option<humantime::Duration> -> humantime::Duration

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for pointing that out

@ahmed-mekky ahmed-mekky requested a review from hatoo October 1, 2025 15:33
@hatoo hatoo merged commit 2167ab4 into hatoo:master Oct 2, 2025
53 of 57 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