diff options
author | Tom Ritter <tom@ritter.vg> | 2020-09-08 00:58:48 -0400 |
---|---|---|
committer | Tom Ritter <tom@ritter.vg> | 2020-09-08 00:59:01 -0400 |
commit | 625f942d60c2f524f389f945a4e4743e57b9393e (patch) | |
tree | a4dc1b960814632363bff3cb4b92013a922943cb /jobs/PeerChecker.py | |
parent | 96242cfb1f65aa406b5f720478cae2046d7c13b5 (diff) |
Other python3 fixes
Diffstat (limited to 'jobs/PeerChecker.py')
-rwxr-xr-x | jobs/PeerChecker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/PeerChecker.py b/jobs/PeerChecker.py index dab78aa..8db692c 100755 --- a/jobs/PeerChecker.py +++ b/jobs/PeerChecker.py @@ -34,7 +34,7 @@ class PeerChecker(JobSpawner.JobSpawner): self.body = "" try: - response = requests.get(self.checkurl) + response = requests.get(self.checkurl, timeout=5) if response.status_code != 200: peerOK = False self.subject = self.checkurl + " returned a non-standard status code." |