From 6c2626cf051b70714d7f6115b796215bb8194608 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sat, 10 Aug 2024 16:28:31 -0400 Subject: [PATCH] Remove old DECRYPT_FUNCTION var --- src/invidious.cr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index e06a08b2..188cd51c 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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)