FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Modify requests ReadTimeout by TylerAldrich · Pull Request #53 · ozgur/python-firebase · GitHub

Modify requests ReadTimeout - #53

Merged
b4oshany merged 1 commit into
ozgur:masterfrom
TylerAldrich:connection_timeouts
Aug 10, 2018
Merged

Modify requests ReadTimeout#53
b4oshany merged 1 commit into
ozgur:masterfrom
TylerAldrich:connection_timeouts

Conversation

Copy link
Copy Markdown

Add ability to customize requests ReadTimeout if session with timeout attribute is passed in, otherwise default to decorators value.

Allows you to pass in your own requests.Session() object with a timeout field. This allows people to have a customized ReadTimeout that is much shorter than the default 60 seconds. Useful when Firebase is having intermittent server issues, so retrys can happen at a quicker rate.

… attribute is passed in, otherwise default to decorators value

Copy link
Copy Markdown

+1, was just considering writing this same pull request.

Copy link
Copy Markdown

+1 for the fix
http_connection overwrites timeout, even if you provide a connection with a different timeout, you will always have 60

b4oshany merged commit a037582 into ozgur:master Aug 10, 2018
TylerAldrich deleted the connection_timeouts branch September 1, 2022 18:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants


Back | FazBrowse Home | New Git URL