Commit 92799db5 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Run Sidekiq Cluster supervision on Core

Now that the Sidekiq Cluster script is available in Core
installations and soon will be used by GDK and Omnibus,
we need to also run the process supervision to terminate
a Cluster process if its parent was SIGKILL'd.
parent 1438907f
# frozen_string_literal: true
if ENV['ENABLE_SIDEKIQ_CLUSTER'] && Gitlab.ee?
if ENV['ENABLE_SIDEKIQ_CLUSTER']
Thread.new do
Thread.current.abort_on_exception = true
......
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