Test: new changes in pkg: cache, cluster, conf

This commit is contained in:
HFO4
2022-03-26 15:32:57 +08:00
parent 1821923b74
commit 636ac52a3f
8 changed files with 144 additions and 137 deletions

View File

@@ -37,7 +37,7 @@ func Init(path string) {
{
"both",
func() {
cache.Init()
cache.Init(conf.SystemConfig.Mode == "slave")
},
},
{