Skip to content

A platform for community discussion. Free, open, simple.

DEV: add missing ultra low queue to mwrap sidekiq

Sam Saffroncd1ab206d93c
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)