From 0b3cdc9132abe819b1d143e4992a20a8ede2a90a Mon Sep 17 00:00:00 2001 From: Quentin Champenois Date: Thu, 14 Nov 2024 17:30:01 +0100 Subject: [PATCH] fix: Add SpamBotBlockUsers sidekiq job --- config/sidekiq.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/sidekiq.yml b/config/sidekiq.yml index 6447ded..723d983 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -58,3 +58,8 @@ cron: '0 1 * * *' class: NotifyProgressInitiatives queue: initiatives + SpamBotBlockUsers: + cron: '0 <%= Random.rand(0..59) %> <%= Random.rand(6..8) %> * * *' # Run randomly between 06:00 and 08:59 + class: Decidim::SpamDetection::BlockUsersJob + queue: default + enabled: false \ No newline at end of file