Remove old DECRYPT_FUNCTION var
All checks were successful
Invidious CI / build (push) Successful in 5m53s

This commit is contained in:
Fijxu 2024-08-10 16:28:31 -04:00
parent 72150ae676
commit 6c2626cf05
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -166,10 +166,10 @@ if CONFIG.channel_threads > 0
Invidious::Jobs.register Invidious::Jobs::RefreshChannelsJob.new(PG_DB)
end
DECRYPT_FUNCTION = DecryptFunction.new(CONFIG.decrypt_polling)
if CONFIG.decrypt_polling
Invidious::Jobs.register Invidious::Jobs::UpdateDecryptFunctionJob.new
end
# DECRYPT_FUNCTION = DecryptFunction.new(CONFIG.decrypt_polling)
# if CONFIG.decrypt_polling
# Invidious::Jobs.register Invidious::Jobs::UpdateDecryptFunctionJob.new
# end
if CONFIG.statistics_enabled
Invidious::Jobs.register Invidious::Jobs::StatisticsRefreshJob.new(PG_DB, SOFTWARE)