From 625f942d60c2f524f389f945a4e4743e57b9393e Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Tue, 8 Sep 2020 00:58:48 -0400 Subject: Other python3 fixes --- jobs/PeerChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs/PeerChecker.py') 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." -- cgit v1.2.3