ipc: Fix sleep time on AddressError.
This commit is contained in:
parent
b40fb4dd43
commit
a6b9d28b96
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user