ipc: Fix sleep time on AddressError.

This commit is contained in:
Florian Bruhin 2015-09-03 23:13:29 +02:00
parent b40fb4dd43
commit a6b9d28b96

View File

@ -344,7 +344,7 @@ def send_or_listen(args):
except AddressInUseError as e:
# This could be a race condition...
log.init.debug("Got AddressInUseError, trying again.")
time.sleep(500)
time.sleep(0.5)
sent = send_to_running_instance(socketname, args.command)
if sent:
return None