Skip to content

Commit

Permalink
fix issue #578 - prevent directly use redis admin command (#581)
Browse files Browse the repository at this point in the history
#578

Co-authored-by: Mikael Henriksson <mikael@mhenrixon.com>
  • Loading branch information
Wolfer and mhenrixon authored Mar 18, 2021
1 parent d74e615 commit e51bbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq_unique_jobs/sidekiq_unique_jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def configure(options = {})
# @return [String] a string like `5.0.2`
#
def fetch_redis_version
redis { |conn| conn.info("server")["redis_version"] }
Sidekiq.redis_info["redis_version"]
end

#
Expand Down

0 comments on commit e51bbe4

Please sign in to comment.