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