mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-25 15:07:22 +00:00
Unregister captcha job (#2390)
This commit is contained in:
parent
e655af251c
commit
87f46a7532
@ -153,10 +153,6 @@ 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