| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Since successful responses can still take a long time to download, have a minimum timeout which should accomodate 99.9%+ of responses. I figure it's more important that *any* timeout is set if desired than it is that the specific timeout is used. This is especially true in cases where a short timeout is requested for the purposes of a progress bar. Making forward progress is more important than the progress bar update frequency.
There was a problem hiding this comment.
one minor question about documenting behavior.
Sorry, something went wrong.
| } | ||
|
|
||
| if timeout is not None: | ||
| timeout = max(timeout, _MIN_GET_QUERY_RESULTS_TIMEOUT) |
There was a problem hiding this comment.
Should we document this in the methods? e.g. timeout less than the _MIN_GET_QUERY_RESULTS_TIMEOUT are ignored?
Sorry, something went wrong.
…rm/python-docs-samples#444) Put them in their own directory, since they duplicate the content from the existing samples that use the generated libraries.
| Back | FazBrowse Home | New Git URL |
Since successful responses can still take a long time to download, have
a minimum timeout which should accomodate 99.9%+ of responses.
I figure it's more important that any timeout is set if desired than
it is that the specific timeout is used. This is especially true in
cases where a short timeout is requested for the purposes of a progress
bar. Making forward progress is more important than the progress bar
update frequency.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #438 🦕