aboutsummaryrefslogtreecommitdiff
path: root/jobs/PeerChecker.py
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2020-09-08 00:58:48 -0400
committerTom Ritter <tom@ritter.vg>2020-09-08 00:59:01 -0400
commit625f942d60c2f524f389f945a4e4743e57b9393e (patch)
treea4dc1b960814632363bff3cb4b92013a922943cb /jobs/PeerChecker.py
parent96242cfb1f65aa406b5f720478cae2046d7c13b5 (diff)
Other python3 fixes
Diffstat (limited to 'jobs/PeerChecker.py')
-rwxr-xr-xjobs/PeerChecker.py2
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."