From d49811bc2e6ec989a0853ccbd52fdca556aa1a1f Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 29 Sep 2019 15:55:14 -0500 Subject: [PATCH] increase restart sleep to avoid port conflicts --- onionr/onionrcommands/restartonionr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/onionrcommands/restartonionr.py b/onionr/onionrcommands/restartonionr.py index 1abe3620..89e5c364 100644 --- a/onionr/onionrcommands/restartonionr.py +++ b/onionr/onionrcommands/restartonionr.py @@ -35,7 +35,7 @@ def restart(): daemonlaunch.kill_daemon() while localcommand.local_command('ping', maxWait=8) == 'pong!': time.sleep(0.3) - time.sleep(4) + time.sleep(9) subprocess.Popen([SCRIPT_NAME, 'start']) restart.onionr_help = 'Gracefully restart Onionr'