Added redis to load

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-12 09:50:27 -04:00
parent 9f9d1fa916
commit 5adc1b46bf
7 changed files with 124 additions and 5 deletions
+6 -5
View File
@@ -22,7 +22,7 @@ class Cache extends BaseConfig
*
* @var string
*/
public $handler = 'file';
public $handler = 'redis';
/**
* --------------------------------------------------------------------------
@@ -35,7 +35,7 @@ class Cache extends BaseConfig
*
* @var string
*/
public $backupHandler = 'dummy';
public $backupHandler = 'file';
/**
* --------------------------------------------------------------------------
@@ -153,11 +153,12 @@ class Cache extends BaseConfig
* @var array<string, int|string|null>
*/
public $redis = [
'host' => '127.0.0.1',
'password' => null,
'port' => 6379,
'host' => '10.0.0.32',
'password' => '7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5',
'port' => 6378,
'timeout' => 0,
'database' => 0,
'prefix' => 'WRB',
];
/**