sidekiq-throttled icon indicating copy to clipboard operation
sidekiq-throttled copied to clipboard

pass brpop timeout argument as kwarg

Open adipasquale opened this issue 1 year ago • 1 comments

Passing the timeout as a positional argument is deprecated, it should now be passed as a keyword argument.

Passing the timeout as a positional argument is deprecated, it should be passed as a keyword argument:
  redis.brpop("queue:mailers", "queue:api_call", "queue:scheduled", "queue:searchkick", "queue:active_storage_analysis", "queue:active_storage_purge", "queue:default", timeout: 2)(called from: /home/xxx/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/sidekiq-throttled-0.16.2/lib/sidekiq/throttled/fetch.rb:94:in `block in brpop')

this should fix #124

adipasquale avatar Aug 29 '22 14:08 adipasquale

This was merged into the master branch of a new repo.

ixti avatar Aug 31 '22 15:08 ixti