From cd1ab206d93cca1bd6e3a614a969b42d0bd58c8a Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 18 Sep 2019 11:18:15 +1000 Subject: [PATCH] DEV: add missing ultra low queue to mwrap sidekiq note: mwrap is used for analysis of memory bloat and leaks of processes --- script/mwrap_sidekiq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/mwrap_sidekiq b/script/mwrap_sidekiq index 4305313dc77..b3a73a59743 100755 --- a/script/mwrap_sidekiq +++ b/script/mwrap_sidekiq @@ -125,7 +125,7 @@ begin options = ["-c", GlobalSetting.sidekiq_workers.to_s] - [['critical', 4], ['default', 2], ['low', 1]].each do |queue_name, weight| + [['critical', 8], ['default', 4], ['low', 2], ['ultra_low', 1]].each do |queue_name, weight| custom_queue_hostname = ENV["UNICORN_SIDEKIQ_#{queue_name.upcase}_QUEUE_HOSTNAME"] if !custom_queue_hostname || custom_queue_hostname.split(',').include?(`hostname`.strip)