Prepare to create a 'Channel' module

This commit is contained in:
Samantaz Fox
2022-11-12 00:04:27 +01:00
parent ce7db8d2cb
commit 8e8ca4fcc5
5 changed files with 13 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ class Invidious::Jobs::RefreshChannelsJob < Invidious::Jobs::BaseJob
max_fibers = CONFIG.channel_threads
lim_fibers = max_fibers
active_fibers = 0
active_channel = Channel(Bool).new
active_channel = ::Channel(Bool).new
backoff = 2.minutes
loop do