-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix strictly ordered queues usage on Sidekiq 4 #13
Comments
ixti
pushed a commit
that referenced
this issue
Apr 6, 2023
* fix timeout deprecation warning for redis 4.8.0 fixes deprecation notice: Passing the timeout as a positional argument is deprecated, it should now be passed as a keyword argument. this change was introduced in redis 4.8.0 https://github.com/redis/redis-rb/blob/master/CHANGELOG.md#480 ``` 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 * fixing ci and lint * fixing fetch spec
ixti
pushed a commit
that referenced
this issue
Apr 6, 2023
* fix timeout deprecation warning for redis 4.8.0 fixes deprecation notice: Passing the timeout as a positional argument is deprecated, it should now be passed as a keyword argument. this change was introduced in redis 4.8.0 https://github.com/redis/redis-rb/blob/master/CHANGELOG.md#480 ``` 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 * fixing ci and lint * fixing fetch spec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since Sidekiq 4.0 BasicFetch changed the way it creates queues list:
@unique_queues
variable@queues
includeTIMEOUT
argument as last element in case of strictly ordered queues.Kudos to @palanglung for discovering that and preparing initial fix for that.
The text was updated successfully, but these errors were encountered: