SigHelper: Reconnect to signature helper
Signed-off-by: Fijxu <fijxu@nadeko.net>
This commit is contained in:
parent
50e83e0446
commit
e419cee0ff
1 changed files with 1 additions and 2 deletions
|
@ -175,7 +175,6 @@ module Invidious::SigHelper
|
|||
@queue = {} of TransactionID => Transaction
|
||||
|
||||
@conn : Connection
|
||||
|
||||
@uri_or_path : String
|
||||
|
||||
def initialize(@uri_or_path)
|
||||
|
@ -201,7 +200,7 @@ module Invidious::SigHelper
|
|||
@conn = Connection.new(@uri_or_path)
|
||||
LOGGER.info("SigHelper: Reconnected to SigHelper!")
|
||||
rescue ex
|
||||
LOGGER.debug("SigHelper: Reconnection to helper unsuccessful with error '#{ex.message}' retrying")
|
||||
LOGGER.debug("SigHelper: Reconnection to helper unsuccessful with error '#{ex.message}'. Retrying")
|
||||
sleep 500.milliseconds
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue