We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7febe07 commit 963d6fbCopy full SHA for 963d6fb
1 file changed
src/Factory/PredisFactory.php
@@ -35,9 +35,10 @@ public function getAdapter(array $config)
35
if (empty($dsn)) {
36
$client = new Client(
37
[
38
- 'scheme' => $config['scheme'],
39
- 'host' => $config['host'],
40
- 'port' => $config['port'],
+ 'scheme' => $config['scheme'],
+ 'host' => $config['host'],
+ 'port' => $config['port'],
41
+ 'persistent' => isset($config['persistent']) ? $config['persistent'] : false
42
]
43
);
44
} else {
0 commit comments