Commit 91597dfb authored by Ahmad Sherif's avatar Ahmad Sherif Committed by Ahmad Sherif

Fix sidekiq cluster mishandling of queue names

parent 2dbbce85
---
title: Fix sidekiq cluster mishandling of queue names
merge_request: 1117
author:
...@@ -70,7 +70,7 @@ module Gitlab ...@@ -70,7 +70,7 @@ module Gitlab
# #
# Returns the PID of the started process. # Returns the PID of the started process.
def self.start_sidekiq(queues, env, directory = Dir.pwd) def self.start_sidekiq(queues, env, directory = Dir.pwd)
switches = queues.map { |q| "-q #{q},1" } switches = queues.map { |q| "-q#{q},1" }
pid = Process.spawn( pid = Process.spawn(
{ 'ENABLE_SIDEKIQ_CLUSTER' => '1' }, { 'ENABLE_SIDEKIQ_CLUSTER' => '1' },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment