Skip to content

Commit 65aa1df

Browse files
authored
Merge pull request #1148 from huacnlee/patch-1
Correct usage for ConnectionPool guide.
2 parents 2e9ab38 + 43b6fa6 commit 65aa1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ As such it is heavilly recommended to use the [`connection_pool` gem](https://gi
8282
```ruby
8383
module MyApp
8484
def self.redis
85-
@redis ||= ConnectionPool.new do
85+
@redis ||= ConnectionPool::Wrapper.new do
8686
Redis.new(url: ENV["REDIS_URL"])
8787
end
8888
end

0 commit comments

Comments
 (0)