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:
James E. Blair 2017-10-15 13:03:10 -07:00
parent b144772e04
commit af0adec254
1 changed files with 1 additions and 1 deletions

View File

@ -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)