Skip to content

Commit

Permalink
Add **kwargs to dynamic redis client method definition (#6249)
Browse files Browse the repository at this point in the history
* Add **kwargs to dynamic redis client method definition

* Bump version
  • Loading branch information
IvanTakarlikov-st committed Apr 10, 2024
1 parent cee6f0e commit 79d254d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/sidekiq/redis_client_adapter.rb
Expand Up @@ -32,8 +32,8 @@ def evalsha(sha, keys, argv)
zremrangebyrank zremrangebyscore]

USED_COMMANDS.each do |name|
define_method(name) do |*args|
@client.call(name, *args)
define_method(name) do |*args, **kwargs|
@client.call(name, *args, **kwargs)
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/sidekiq/version.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module Sidekiq
VERSION = "7.2.2"
VERSION = "7.2.3"
MAJOR = 7
end

0 comments on commit 79d254d

Please sign in to comment.