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
A temporary network outage can kill request_get, never get a response, which kills a live trading. A possible solution is to set timeout=3 at SESSION.get(...).
The text was updated successfully, but these errors were encountered:
ferrarisf50
changed the title
request_get function needs a module to retry if out of network
request_get function needs a module to retry if lost network connection
Aug 30, 2023
A temporary network outage can kill request_get, never get a response, which kills a live trading. A possible solution is to set timeout=3 at SESSION.get(...).
response = SESSION.get(url, params=payload,timeout=3)
The text was updated successfully, but these errors were encountered: