We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b000d commit edbca16Copy full SHA for edbca16
2 files changed
system/Cache/Handlers/PredisHandler.php
@@ -36,8 +36,8 @@ class PredisHandler extends BaseHandler
36
* host: string,
37
* password: string|null,
38
* port: int,
39
- * async: bool
40
- * persistent: bool
+ * async: bool,
+ * persistent: bool,
41
* timeout: int
42
* }
43
*/
user_guide_src/source/libraries/caching/014.php
@@ -9,11 +9,14 @@ class Cache extends BaseConfig
9
// ...
10
11
public $redis = [
12
- 'host' => '127.0.0.1',
13
- 'password' => null,
14
- 'port' => 6379,
15
- 'timeout' => 0,
16
- 'database' => 0,
+ 'scheme' => 'tcp',
+ 'host' => '127.0.0.1',
+ 'password' => null,
+ 'port' => 6379,
+ 'async' => false,
17
+ 'persistent' => false,
18
+ 'timeout' => 0,
19
+ 'database' => 0,
20
];
21
22
0 commit comments