Commit 69df2ada authored by Loki Else's avatar Loki Else Committed by GitHub

Support predis v1.1.1

fix: `AUTH failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]`

According to predix release log: https://github.com/nrk/predis/releases/tag/v1.1.1
parent 038ae10a
...@@ -111,9 +111,11 @@ return [ ...@@ -111,9 +111,11 @@ return [
'default' => [ 'default' => [
'host' => env('REDIS_HOST', '127.0.0.1'), 'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379), 'port' => env('REDIS_PORT', 6379),
'database' => 0, 'database' => 0,
'parameters' => [
'password' => env('REDIS_PASSWORD', '')
]
], ],
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment