patch to avoid connection breaks because slow tcp processing

This commit is contained in:
Maik Hofmann
2021-02-15 22:10:39 +01:00
parent e511591d16
commit 3906d73c42
3 changed files with 425 additions and 2 deletions

View File

@ -55,5 +55,5 @@ while True:
else:
print("invalid response code "+ r.status_code)
except requests.exceptions.RequestException as e:
print("error: " + e)
print(e)
time.sleep(intervall*60)