From d4ae0a47dbedd9c17607df314b7a508eb433136c Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Thu, 2 Sep 2021 00:00:07 +0200 Subject: [PATCH] Remove the decrypt function job --- src/invidious.cr | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index 27ebd735..ad735858 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -136,11 +136,6 @@ if CONFIG.feed_threads > 0 Invidious::Jobs.register Invidious::Jobs::RefreshFeedsJob.new(PG_DB) 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) end