Invidious is an alternative front-end to YouTube
Reduce refresh delay, increase backoff start duration
Samantaz Foxc6f088d6caa5
diff --git a/src/invidious/jobs/refresh_channels_job.cr b/src/invidious/jobs/refresh_channels_job.crindex 0adb4b5a..2321e964 100644--- a/src/invidious/jobs/refresh_channels_job.cr+++ b/src/invidious/jobs/refresh_channels_job.cr@@ -9,7 +9,7 @@ class Invidious::Jobs::RefreshChannelsJob < Invidious::Jobs::BaseJoblim_fibers = max_fibersactive_fibers = 0active_channel = Channel(Bool).new- backoff = 1.seconds+ backoff = 2.minutesloop doLOGGER.debug("RefreshChannelsJob: Refreshing all channels")@@ -59,8 +59,8 @@ class Invidious::Jobs::RefreshChannelsJob < Invidious::Jobs::BaseJobend# TODO: make this configurable- LOGGER.debug("RefreshChannelsJob: Done, sleeping for one hour")- sleep 1.hour+ LOGGER.debug("RefreshChannelsJob: Done, sleeping for thirty minutes")+ sleep 30.minutesFiber.yieldendend