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

Commit

Permalink
Redis uses query parameter "db", not "database"
Browse files Browse the repository at this point in the history
  • Loading branch information
kloining committed Nov 17, 2020
1 parent cafd21a commit 904a97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChannelManagers/RedisChannelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ protected function getConnectionUri()
}

if ($config['database']) {
$query['database'] = $config['database'];
$query['db'] = $config['database'];
}

$query = http_build_query($query);
Expand Down

0 comments on commit 904a97c

Please sign in to comment.