Skip to content

Commit

Permalink
fix: Add SpamBotBlockUsers sidekiq job
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Nov 14, 2024
1 parent 90f4757 commit 0b3cdc9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0b3cdc9

Please sign in to comment.