-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: Fix Sidekiq
- Loading branch information
Showing
2 changed files
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
:concurrency: 5 | ||
:queues: | ||
- mailers | ||
- default | ||
- backups | ||
- metrics | ||
- mailers | ||
- newsletter | ||
- events | ||
- newsletter | ||
- exports | ||
- user_report | ||
- block_user | ||
- scheduled | ||
- translations | ||
- metrics | ||
- vote_reminder | ||
- reminders | ||
|
||
:scheduler: | ||
:schedule: | ||
CalculateAllMetrics: | ||
cron: '0 0 0 * * *' # Run at midnight | ||
cron: '0 9 0 * * *' # Run at 00:09 | ||
class: CalculateAllMetricsJob | ||
queue: scheduled | ||
PreloadOpenData: | ||
cron: '0 0 1 * * *' # Run at 01:00 | ||
class: PreloadOpenDataJob | ||
queue: scheduled | ||
OrdersReminder: | ||
cron: '0 0 18 * * *' # Run at 18:00 | ||
class: OrdersReminderJob | ||
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 | ||
Backup: | ||
cron: '0 0 4 * * *' # Run at 04:00 | ||
class: BackupJob | ||
queue: backups | ||
|