add launchpadlib timeout
er had hung in the gate on a launchpad network issue. Set the timeout for launchpadlib in an attempt to prevent this in the future. Change-Id: Ib3585f0a2b502e306c42711815c40d17fd6520a9
This commit is contained in:
@@ -117,7 +117,8 @@ class RecheckWatch(threading.Thread):
|
||||
self.key = key
|
||||
self.lp = launchpad.Launchpad.login_anonymously('grabbing bugs',
|
||||
'production',
|
||||
LPCACHEDIR)
|
||||
LPCACHEDIR,
|
||||
timeout=60)
|
||||
|
||||
def display(self, channel, event):
|
||||
display = False
|
||||
|
||||
Reference in New Issue
Block a user