Skip to content

Commit

Permalink
fix: Add missing Sidekiq queues
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Oct 2, 2024
1 parent 14bd3ed commit d239613
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
- events
- scheduled
- exports
- user_report
- block_user
- active_storage_analysis
- active_storage_purge
- user_report
Expand All @@ -28,6 +30,10 @@
cron: '0 0 4 * * *' # Run at 04:00
class: BackupJob
queue: backups
DetectSpamUsers:
cron: '0 <%= Random.rand(0..59) %> <%= Random.rand(6..8) %> * * *' # Run randomly between 06:00 and 08:59
class: Decidim::SpamDetection::MarkUsersJob
queue: scheduled
SendNotificationMailDaily:
cron: '0 0 7 * * *' # Run at 07:00AM every days
class: NotificationsDigestMailJob
Expand All @@ -37,4 +43,4 @@
cron: '0 0 8 * * 2' # Run at 08:00AM on Tuesday
class: NotificationsDigestMailJob
queue: mailers
args: :weekly
args: :weekly

0 comments on commit d239613

Please sign in to comment.