-
-
Couldn't load subscription status.
- Fork 9.6k
Closed
Labels
Question/Not a bugactions/autoclose-qaUsed for automation to auto-close an issueUsed for automation to auto-close an issue
Description
Hi, I have a special scenarios that there is a process called A continuously produces data while a process called B post the data to a url, The following is a fragment of process B pseudocode:
with requests.Session as session:
while True:
data = queue.get()
response = make_request(data, session)
The loop above is expected to continue even if an exception occurs, so the question is:
If something wrong causes session invalid, does it throw exceptions ? if so, how to handle it so the loop continues ?
Metadata
Metadata
Assignees
Labels
Question/Not a bugactions/autoclose-qaUsed for automation to auto-close an issueUsed for automation to auto-close an issue