You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system/Cache/Handlers/RedisHandler.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,12 @@ class RedisHandler extends BaseHandler
39
39
* }
40
40
*/
41
41
protected$config = [
42
-
'host' => '127.0.0.1',
43
-
'password' => null,
44
-
'port' => 6379,
45
-
'timeout' => 0,
42
+
'host'=> '127.0.0.1',
43
+
'password'=> null,
44
+
'port'=> 6379,
45
+
'timeout'=> 0,
46
46
'persistent' => false,
47
-
'database' => 0,
47
+
'database'=> 0,
48
48
];
49
49
50
50
/**
@@ -88,7 +88,7 @@ public function initialize()
88
88
89
89
// Note:: If Redis is your primary cache choice, and it is "offline", every page load will end up been delayed by the timeout duration.
90
90
// I feel like some sort of temporary flag should be set, to indicate that we think Redis is "offline", allowing us to bypass the timeout for a set period of time.
0 commit comments