Skip to content

Console Warning: Redis upgrade deprecations #4626

Description

@lcjohnso

Warning message received when running RefreshWorkflowStatusWorker.perform_async():

Pipelining commands on a Redis instance is deprecated and will be removed in Redis 5.0.0.

redis.multi do
  redis.get("key")
end

should be replaced by

redis.multi do |pipeline|
  pipeline.get("key")
end

(called from /usr/local/bundle/gems/sidekiq-6.0.7/lib/sidekiq/client.rb:188:in `block in raw_push'}
Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead.(called from: /usr/local/bundle/gems/sidekiq-6.0.7/lib/sidekiq/client.rb:208:in `atomic_push')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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