2020-04-08 14:13:33 +05:30
|
|
|
#!/usr/bin/env ruby
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-12-11 22:18:48 +05:30
|
|
|
require_relative '../sidekiq_cluster/cli'
|
2020-04-08 14:13:33 +05:30
|
|
|
|
|
|
|
Thread.abort_on_exception = true
|
|
|
|
|
|
|
|
cli = Gitlab::SidekiqCluster::CLI.new
|
|
|
|
|
|
|
|
begin
|
|
|
|
cli.run
|
|
|
|
rescue Gitlab::SidekiqCluster::CLI::CommandError => error
|
|
|
|
abort error.message
|
|
|
|
end
|