Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 904a97c

Browse files
committed
Redis uses query parameter "db", not "database"
1 parent cafd21a commit 904a97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChannelManagers/RedisChannelManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ protected function getConnectionUri()
500500
}
501501

502502
if ($config['database']) {
503-
$query['database'] = $config['database'];
503+
$query['db'] = $config['database'];
504504
}
505505

506506
$query = http_build_query($query);

0 commit comments

Comments
 (0)