Redis updates

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-09 13:36:51 -04:00
parent b66a233d6b
commit a4a0345055
4 changed files with 58 additions and 18 deletions
+12 -5
View File
@@ -22,7 +22,7 @@ class Cache extends BaseConfig
*
* @var string
*/
public $handler = 'file';
public $handler = 'redis'; //'file';
/**
* --------------------------------------------------------------------------
@@ -35,7 +35,7 @@ class Cache extends BaseConfig
*
* @var string
*/
public $backupHandler = 'dummy';
public $backupHandler = 'file';
/**
* --------------------------------------------------------------------------
@@ -152,14 +152,21 @@ class Cache extends BaseConfig
*
* @var array<string, int|string|null>
*/
public $redis = [
'host' => '127.0.0.1',
'password' => null,
public $redis2 = [
'host' => '10.0.0.112',
'password' => 'adae59706edf22f9f61180578cd16cc2038703c7230ae012e3c783ace1d09d64',
'port' => 6379,
'timeout' => 0,
'database' => 0,
];
public $redis = [
'host' => '10.0.0.32',
'password' => '7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5',
'port' => 6378,
'timeout' => 0,
'database' => 0,
];
/**
* --------------------------------------------------------------------------
* Available Cache Handlers