mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Capitalize Redis
[ci skip]
This commit is contained in:
parent
251d3f9151
commit
f84019cd63
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module ActionCable
|
|||
class Redis < Base # :nodoc:
|
||||
prepend ChannelPrefix
|
||||
|
||||
# Overwrite this factory method for redis connections if you want to use a different Redis library than Redis.
|
||||
# Overwrite this factory method for Redis connections if you want to use a different Redis library than the redis gem.
|
||||
# This is needed, for example, when using Makara proxies for distributed Redis.
|
||||
cattr_accessor :redis_connector, default: ->(config) do
|
||||
::Redis.new(config.slice(:url, :host, :port, :db, :password))
|
||||
|
|
Loading…
Reference in a new issue