aboutsummaryrefslogtreecommitdiff
path: root/jobs/TCPServerChecker.py
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2016-12-28 14:22:11 -0500
committerTom Ritter <tom@ritter.vg>2016-12-28 14:22:11 -0500
commit18aabef729c950dbed52163908ffeeb48e0e56a9 (patch)
treee4526246ccaf8c5f72d0870e1231d0337d03d0ef /jobs/TCPServerChecker.py
parentbbd009871af97d942365317b0ce577f19c95637d (diff)
Check for 200 status code and set server timeout to 10
Diffstat (limited to 'jobs/TCPServerChecker.py')
-rwxr-xr-xjobs/TCPServerChecker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/TCPServerChecker.py b/jobs/TCPServerChecker.py
index 78ae1ac..4b5460c 100755
--- a/jobs/TCPServerChecker.py
+++ b/jobs/TCPServerChecker.py
@@ -31,7 +31,7 @@ class TCPServerChecker(JobSpawner.JobSpawner):
def execute(self):
try:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- s.settimeout(5)
+ s.settimeout(10)
s.connect((self.ip, self.port))
s.close()
return True