mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-27 11:18:30 -05:00
Revert "Unregister captcha job (#2390)"
This reverts commit 87f46a7532dbb8abdb09413bcc2a62f63e0d4c9e.
This commit is contained in:
parent
2b81a82620
commit
b89238b6ea
@ -155,6 +155,10 @@ if CONFIG.popular_enabled
|
|||||||
Invidious::Jobs.register Invidious::Jobs::PullPopularVideosJob.new(PG_DB)
|
Invidious::Jobs.register Invidious::Jobs::PullPopularVideosJob.new(PG_DB)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if CONFIG.captcha_key
|
||||||
|
Invidious::Jobs.register Invidious::Jobs::BypassCaptchaJob.new
|
||||||
|
end
|
||||||
|
|
||||||
connection_channel = Channel({Bool, Channel(PQ::Notification)}).new(32)
|
connection_channel = Channel({Bool, Channel(PQ::Notification)}).new(32)
|
||||||
Invidious::Jobs.register Invidious::Jobs::NotificationJob.new(connection_channel, CONFIG.database_url)
|
Invidious::Jobs.register Invidious::Jobs::NotificationJob.new(connection_channel, CONFIG.database_url)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user