1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Mike Perham 2018-02-13 12:01:19 -08:00
parent cc8fed0e4d
commit eca6acc0ce

View file

@ -330,6 +330,8 @@ module Sidekiq
opts[:tag] = arg opts[:tag] = arg
end end
# this index remains here for backwards compatibility but none of the Sidekiq
# family use this value anymore. it was used by Pro's original reliable_fetch.
o.on '-i', '--index INT', "unique process index on this machine" do |arg| o.on '-i', '--index INT', "unique process index on this machine" do |arg|
opts[:index] = Integer(arg.match(/\d+/)[0]) opts[:index] = Integer(arg.match(/\d+/)[0])
end end