You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code line is get_req = partial(requests.get, url, headers=headers, cookies=cookies) [there are actually 3 options] has no timeout for the python requests method..... so if the exchange doesn't respond, the code has to wait for the http timeout (30+ seconds, depending on client & server combinations)
the code line is
get_req = partial(requests.get, url, headers=headers, cookies=cookies)
[there are actually 3 options] has no timeout for the pythonrequests
method..... so if the exchange doesn't respond, the code has to wait for the http timeout (30+ seconds, depending on client & server combinations)Timeouts can be added - see https://requests.readthedocs.io/en/latest/user/advanced/#timeouts:
.... the two values can be different
[there's also a question as to whether these timeouts should be configurable, to allow for adjustment in different deployment environments]
The text was updated successfully, but these errors were encountered: