Merge pull request #613 from kloining/hotfix/fix-redis-connection-config-path
Fix wrong redis replication connection config path
This commit is contained in:
commit
31f4bd7f77
|
|
@ -487,7 +487,7 @@ class RedisChannelManager extends LocalChannelManager
|
||||||
*/
|
*/
|
||||||
protected function getConnectionUri()
|
protected function getConnectionUri()
|
||||||
{
|
{
|
||||||
$name = config('websockets.replication.redis.connection', 'default');
|
$name = config('websockets.replication.modes.redis.connection', 'default');
|
||||||
$config = config("database.redis.{$name}");
|
$config = config("database.redis.{$name}");
|
||||||
|
|
||||||
$host = $config['host'];
|
$host = $config['host'];
|
||||||
|
|
@ -500,7 +500,7 @@ class RedisChannelManager extends LocalChannelManager
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($config['database']) {
|
if ($config['database']) {
|
||||||
$query['database'] = $config['database'];
|
$query['db'] = $config['database'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = http_build_query($query);
|
$query = http_build_query($query);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue