mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix typo in refresh_feeds
This commit is contained in:
parent
2f02b38b62
commit
c07ad0941c
1 changed files with 22 additions and 20 deletions
|
@ -47,6 +47,7 @@ def refresh_feeds(db, logger, max_threads = 1, use_feed_events = false)
|
|||
|
||||
# Spawn thread to handle feed events
|
||||
if use_feed_events
|
||||
spawn do
|
||||
queue = Deque(String).new(30)
|
||||
|
||||
spawn do
|
||||
|
@ -77,6 +78,7 @@ def refresh_feeds(db, logger, max_threads = 1, use_feed_events = false)
|
|||
queue << event.payload
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
spawn do
|
||||
max_threads = max_channel.receive
|
||||
|
|
Loading…
Reference in a new issue