mperham / connection_pool

Generic connection pooling for Ruby
MIT License
1.63k stars 143 forks source link

README: Use API Redis.new in example #129

Closed olleolleolle closed 4 years ago

olleolleolle commented 4 years ago

This PR updates a README example to the code which is found in the library.

Why this change?

Redis-rb 4.x dropped the Redis.connect method.

I looked around my dependencies for usages, and hit this code on text-searching in my local files.