Skip to content

Commit

Permalink
Sidekiq task: remove index param
Browse files Browse the repository at this point in the history
It was used for daemonization on very old Sidekiq releases. Not used anymore
  • Loading branch information
jlledom committed Sep 12, 2023
1 parent 69d6d0d commit 8d30be4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/tasks/sidekiq.rake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ namespace :sidekiq do
envs['RAILS_MAX_THREADS'] = ENV.fetch('RAILS_MAX_THREADS', '1')

args = []
args.push(['--index', ENV.fetch('INDEX', '0')])
args.push(%w[backend_sync billing critical default deletion events low mailers priority web_hooks zync].flat_map { |queue| ['--queue', queue] })

exec(envs, 'sidekiq', *args.flatten)
Expand Down

0 comments on commit 8d30be4

Please sign in to comment.