Skip to content

Commit 1f77059

Browse files
authored
Merge pull request #269 from redis-rb/fix-compatibility-with-connection-pool-3.x
Fix compatibility with connection_pool 3.x
2 parents e626852 + ec6dace commit 1f77059

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Unreleased
22

3+
- Fix compatibility with `connection_pool` version 3+.
4+
35
# 0.26.1
46

57
- Fix a few corner cases where `RedisClient::Error#final?` was innacurate.

lib/redis_client/pooled.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def initialize(
2323
end
2424

2525
def with(options = EMPTY_HASH)
26-
pool.with(options) do |client|
26+
pool.with(**options) do |client|
2727
client.connect_timeout = connect_timeout
2828
client.read_timeout = read_timeout
2929
client.write_timeout = write_timeout

0 commit comments

Comments
 (0)