summaryrefslogtreecommitdiff
path: root/jobs/PeerChecker.py
diff options
context:
space:
mode:
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."