From 53f0a5b1e0df9b64ff24e630f32e5d4d925c382b Mon Sep 17 00:00:00 2001 From: Fijxu Date: Thu, 19 Sep 2024 15:17:04 -0300 Subject: [PATCH] fixup! SigHelper: Handle all errors, lower time between retries --- src/invidious/helpers/sig_helper.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/invidious/helpers/sig_helper.cr b/src/invidious/helpers/sig_helper.cr index 347fd8bf..801fc4b2 100644 --- a/src/invidious/helpers/sig_helper.cr +++ b/src/invidious/helpers/sig_helper.cr @@ -194,15 +194,15 @@ module Invidious::SigHelper receive_data # Handle all errors rescue ex - LOGGER.info("Connection to helper died with '#{ex.message}' trying to reconnect...") + LOGGER.info("SigHelper: Connection to helper died with '#{ex.message}' trying to reconnect...") # We close the socket because for some reason is not closed. @conn.close loop do begin @conn = Connection.new(@uri_or_path) - LOGGER.info("Reconnected to SigHelper!") + LOGGER.info("SigHelper: Reconnected to SigHelper!") rescue ex - LOGGER.debug("Reconnection to helper unsuccessful with error '#{ex.message}' retrying") + LOGGER.debug("SigHelper: Reconnection to helper unsuccessful with error '#{ex.message}' retrying") sleep 0.5 next end