diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/development.rb | 3 | ||||
-rw-r--r-- | config/sidekiq.yml | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 58e8a0728..c20d08493 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -69,7 +69,4 @@ Rails.application.configure do end end -require 'sidekiq/testing' -Sidekiq::Testing.inline! - ActiveRecordQueryTrace.enabled = ENV.fetch('QUERY_TRACE_ENABLED') { false } diff --git a/config/sidekiq.yml b/config/sidekiq.yml index ee32b6317..5c700cb27 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -1,2 +1,11 @@ --- :concurrency: 5 +:queues: + - default + - push + - pull + - mailers +:schedule: + subscriptions_scheduler: + cron: '0 5 * * *' + class: Scheduler::SubscriptionsScheduler |