mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-17 01:58:29 +00:00
Revert "Unregister captcha job (#2390)"
This reverts commit 87f46a7532
.
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…
Reference in New Issue
Block a user