Redis updates
This commit is contained in:
+12
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user