1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Remove warning for a long dead option

This commit is contained in:
Mike Perham 2015-01-14 12:00:29 -08:00
parent a5e6052beb
commit 8b1241e517

View file

@ -65,7 +65,6 @@ module Sidekiq
# :pool - use the given Redis connection pool to push this type of job to a given shard.
def sidekiq_options(opts={})
self.sidekiq_options_hash = get_sidekiq_options.merge((opts || {}).stringify_keys)
::Sidekiq.logger.warn("#{self.name} - :timeout is unsafe and support has been removed from Sidekiq, see http://bit.ly/OtYpK for details") if opts.include? :timeout
end
def sidekiq_retry_in(&block)