diff --git a/config/cloud_foundry/review_manifest.yml b/config/cloud_foundry/review_manifest.yml index f715306b0..55913dc37 100644 --- a/config/cloud_foundry/review_manifest.yml +++ b/config/cloud_foundry/review_manifest.yml @@ -8,7 +8,7 @@ defaults: &defaults instances: 1 memory: 1G - type: worker - command: bundle exec sidekiq + command: bundle exec sidekiq -t 3 health-check-type: process instances: 1 health-check-type: http diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 597de6400..c8e38e1d7 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -32,4 +32,8 @@ Sidekiq.configure_server do |config| config.on(:startup) do Sidekiq::Cron::Job.load_from_hash YAML.load_file("config/sidekiq_cron_schedule.yml") end + + config.on(:shutdown) do + Sidekiq::CLI.instance.launcher.quiet + end end diff --git a/manifest.yml b/manifest.yml index c8f26f9b0..c75fb8ea1 100644 --- a/manifest.yml +++ b/manifest.yml @@ -8,7 +8,7 @@ defaults: &defaults instances: 2 memory: 1G - type: worker - command: bundle exec sidekiq + command: bundle exec sidekiq -t 3 health-check-type: process instances: 2 health-check-type: http @@ -31,7 +31,7 @@ applications: instances: 4 memory: 1G - type: worker - command: bundle exec sidekiq + command: bundle exec sidekiq -3 health-check-type: process instances: 2 env: