diff options
author | elijah <elijah@riseup.net> | 2014-11-24 15:41:31 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-11-24 15:41:31 -0800 |
commit | e99a9ec4582357f22fbdbc222edbe92ef6da6e72 (patch) | |
tree | 14278984d8207093d64e9db548269af1c649a8a9 /lib | |
parent | 1b4a0769f5ce4708758c10952370cb06cc2201e9 (diff) |
add a sleep to restart. appears to finally resolve https://leap.se/code/issues/3526
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nickserver/daemon.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nickserver/daemon.rb b/lib/nickserver/daemon.rb index 9a50e36..36fe581 100644 --- a/lib/nickserver/daemon.rb +++ b/lib/nickserver/daemon.rb @@ -267,6 +267,7 @@ module Nickserver def command_restart(&block) command_stop + sleep(0.5) command_start(&block) end |