about summary refs log tree commit diff
path: root/config/sidekiq.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/sidekiq.yml')
-rw-r--r--config/sidekiq.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index 59dfeaf97..c44af5b6c 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -1,10 +1,10 @@
 ---
 :concurrency: 5
 :queues:
-  - default
-  - push
-  - mailers
-  - pull
+  - [default, 6]
+  - [push, 4]
+  - [mailers, 2]
+  - [pull]
 :schedule:
   subscriptions_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
@@ -33,3 +33,6 @@
   backup_cleanup_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
     class: Scheduler::BackupCleanupScheduler
+  pghero_scheduler:
+    cron: '0 0 * * *'
+    class: Scheduler::PgheroScheduler