about summary refs log tree commit diff
path: root/config/sidekiq.yml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-15 04:34:28 +0100
committerGitHub <noreply@github.com>2018-01-15 04:34:28 +0100
commited867eca9dbd7d798bc7179dbc13c4f1edc238ad (patch)
treeca8ae2e2a7745fed4d3659e88c16047c97e8d4c3 /config/sidekiq.yml
parent08e4c78e78358c2847967e9cc34b4a6497be97e2 (diff)
Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252)
Diffstat (limited to 'config/sidekiq.yml')
-rw-r--r--config/sidekiq.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index 4c35dcd43..bfe29b8f8 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -27,3 +27,6 @@
   ip_cleanup_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
     class: Scheduler::IpCleanupScheduler
+  email_scheduler:
+    cron: '0 10 * * 2'
+    class: Scheduler::EmailScheduler