DEV: add missing ultra low queue to mwrap sidekiq

note: mwrap is used for analysis of memory bloat and leaks of processes
This commit is contained in:
Sam Saffron 2019-09-18 11:18:15 +10:00
parent bb127b8140
commit cd1ab206d9

View File

@ -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)