Skip to content

Passing the timeout as a positional argument is deprecated #213

@michaelfranzl

Description

@michaelfranzl

There are lots of warnings with redis 4.8.0 and redis-namespace 1.9.0:

Passing the timeout as a positional argument is deprecated, it should be passed as a keyword argument:
  redis.brpop("myapp:queue:myqueue", timeout: 2)(called from: /home/me/.bundle/ruby/2.6.0/gems/redis-namespace-1.9.0/lib/redis/namespace.rb:479:in `call_with_namespace')

This is the location:

result = @redis.send(command, *args, &block)

Related Sidekiq issue: sidekiq/sidekiq#5488 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions