@@ -30,25 +30,25 @@ class RedisStore < Store
3030 # RedisStore.new client: Redis.new(url: "redis://127.0.0.1:6380/1")
3131 # # => host: localhost, port: 6379, db: 0
3232 #
33- # RedisStore.new "example.com"
33+ # RedisStore.new "redis:// example.com"
3434 # # => host: example.com, port: 6379, db: 0
3535 #
36- # RedisStore.new "example.com:23682"
36+ # RedisStore.new "redis:// example.com:23682"
3737 # # => host: example.com, port: 23682, db: 0
3838 #
39- # RedisStore.new "example.com:23682/1"
39+ # RedisStore.new "redis:// example.com:23682/1"
4040 # # => host: example.com, port: 23682, db: 1
4141 #
42- # RedisStore.new "example.com:23682/1/theplaylist"
42+ # RedisStore.new "redis:// example.com:23682/1/theplaylist"
4343 # # => host: example.com, port: 23682, db: 1, namespace: theplaylist
4444 #
45- # RedisStore.new "localhost:6379/0", "localhost:6380/0"
45+ # RedisStore.new "redis:// localhost:6379/0", "redis:// localhost:6380/0"
4646 # # => instantiate a cluster
4747 #
48- # RedisStore.new "localhost:6379/0", "localhost:6380/0", pool_size: 5, pool_timeout: 10
48+ # RedisStore.new "redis:// localhost:6379/0", "redis:// localhost:6380/0", pool_size: 5, pool_timeout: 10
4949 # # => use a ConnectionPool
5050 #
51- # RedisStore.new "localhost:6379/0", "localhost:6380/0",
51+ # RedisStore.new "redis:// localhost:6379/0", "redis:// localhost:6380/0",
5252 # pool: ::ConnectionPool.new(size: 1, timeout: 1) { ::Redis::Store::Factory.create("localhost:6379/0") })
5353 # # => supply an existing connection pool (e.g. for use with redis-sentinel or redis-failover)
5454 def initialize ( *addresses )
0 commit comments