From d827ef5fcc0798299aea4d312a4a68877ffdc5f2 Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 7 Nov 2024 17:39:49 +0800 Subject: [PATCH] + [refac] add default configuration of redis. --- config/cache.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/cache.php b/config/cache.php index ec8d225857..7be4a90357 100644 --- a/config/cache.php +++ b/config/cache.php @@ -62,3 +62,10 @@ $config->cacheKeys->execution->ajaxGetDropMenuExecutions = 'ajaxDropMenuExecutio $config->cacheKeys->bug = new stdclass(); $config->cacheKeys->bug->browse = 'bugBrowse%s'; + +$config->redis = new stdClass(); +$config->redis->host = ''; +$config->redis->port = ''; +$config->redis->username = ''; +$config->redis->password = ''; +$config->redis->serializer = 'serialize'; // serialize|igbinary