Skip to content

Commit

Permalink
Unregister captcha job (#2390)
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite authored Sep 19, 2021
1 parent e655af2 commit 87f46a7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/invidious.cr
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ if CONFIG.popular_enabled
Invidious::Jobs.register Invidious::Jobs::PullPopularVideosJob.new(PG_DB)
end

if CONFIG.captcha_key
Invidious::Jobs.register Invidious::Jobs::BypassCaptchaJob.new
end

connection_channel = Channel({Bool, Channel(PQ::Notification)}).new(32)
Invidious::Jobs.register Invidious::Jobs::NotificationJob.new(connection_channel, CONFIG.database_url)

Expand Down

0 comments on commit 87f46a7

Please sign in to comment.