Merge "Handle SIGINT correctly in Client.waitForServer()"

This commit is contained in:
Jenkins 2016-07-21 16:19:54 +00:00 committed by Gerrit Code Review
commit b604bc9fb6
1 changed files with 1 additions and 1 deletions

View File

@ -1209,7 +1209,7 @@ class BaseClient(BaseClientServer):
self.connections_condition.acquire()
while self.running and not self.active_connections:
self.log.debug("Waiting for at least one active connection")
self.connections_condition.wait()
self.connections_condition.wait(timeout=1)
if self.active_connections:
self.log.debug("Active connection found")
connected = True