cache commit

This commit is contained in:
dev-chiefworks
2023-03-12 10:38:47 -04:00
parent 407d2de32e
commit 691726b630
7 changed files with 152 additions and 5 deletions
+29 -1
View File
@@ -22,7 +22,7 @@ class Cache extends BaseConfig
*
* @var string
*/
public $handler = 'file';
public $handler = 'redis'; // 'file';
/**
* --------------------------------------------------------------------------
@@ -152,13 +152,41 @@ class Cache extends BaseConfig
*
* @var array<string, int|string|null>
*/
public $redis = [
'host' => '10.0.0.32',
'password' => 'adae59706edf22f9f61180578cd16cc2038703c7230ae012e3c783ace1d09d64',
'port' => 6379,
'timeout' => 0,
'database' => 0,
];
/*
7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5
public $redis = [
'host' => '10.0.0.32',
'password' => '7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5',
'port' => 6378,
'timeout' => 0,
'database' => 0,
];
public $redis = [
'host' => '10.0.0.32',
'password' => 'adae59706edf22f9f61180578cd16cc2038703c7230ae012e3c783ace1d09d64',
'port' => 6379,
'timeout' => 0,
'database' => 0,
];
public $redis = [
'host' => '127.0.0.1',
'password' => null,
'port' => 6379,
'timeout' => 0,
'database' => 0,
];
*/
/**
* --------------------------------------------------------------------------