Add 90s connect timeout for submit log jobs
If the logstash gearman server is down, we don't want jobs to hang indefinitely. Change-Id: I2ea16bdae4cc0181feae3db0532c88485a52b70b
This commit is contained in:
parent
b144772e04
commit
af0adec254
|
@ -73,7 +73,7 @@ class LogMatcher(object):
|
|||
return results
|
||||
|
||||
def submitJobs(self, jobname, files):
|
||||
self.client.waitForServer()
|
||||
self.client.waitForServer(90)
|
||||
ret = []
|
||||
for f in files:
|
||||
output = self.makeOutput(f)
|
||||
|
|
Loading…
Reference in New Issue