Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn all timeout into float values in seconds #2920

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Conversation

toots
Copy link
Member

@toots toots commented Feb 24, 2023

This is a bit of a breaking change but I think that it would prove valuable: require that all timeout settings and parameters be labelled timeout (or read_timeout etc) and hold a floating point value in seconds.

Fixes: #2809

@toots toots force-pushed the timeout-float-sec branch 3 times, most recently from d7b0730 to 9e8ffe1 Compare February 24, 2023 14:52
@smimram
Copy link
Member

smimram commented Feb 24, 2023

NB : it won't be a breaking change if you merge #2887 :)

@toots
Copy link
Member Author

toots commented Feb 24, 2023

Well the change from milliseconds to seconds is gonna make things break still..

@toots toots merged commit f605bb7 into main Feb 24, 2023
@toots toots deleted the timeout-float-sec branch February 24, 2023 20:39
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.

http.post.file use different variable for timeout and different defaults from the others http.post params
2 participants