code layouts and comments

This commit is contained in:
bergquist
2019-03-05 15:34:51 +01:00
parent 9a78c23165
commit daa3b17951
7 changed files with 79 additions and 60 deletions

View File

@@ -783,8 +783,6 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
cfg.EnterpriseLicensePath = enterprise.Key("license_path").MustString(filepath.Join(cfg.DataPath, "license.jwt"))
cacheServer := iniFile.Section("cache_server")
//cfg.DistCacheType = cacheServer.Key("type").MustString("database")
//cfg.DistCacheConnStr = cacheServer.Key("connstr").MustString("")
cfg.CacheOptions = &CacheOpts{
Name: cacheServer.Key("type").MustString("database"),
ConnStr: cacheServer.Key("connstr").MustString(""),