no faststart by default

This commit is contained in:
Radu Ioan Fericean
2016-07-18 20:49:11 +03:00
parent e81b1b65cc
commit f4b3839bff
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ const CGRATES_CFG_JSON = `
"response_cache_ttl": "0s", // the life span of a cached response
"internal_ttl": "2m", // maximum duration to wait for internal connections before giving up
"locking_timeout": "5s", // timeout internal locks to avoid deadlocks
"cache_dump_dir": "/var/lib/cgrates/cache_dump", // cache dump for faster start (leave empty to disable)b
"cache_dump_dir": "", // cache dump for faster start (leave empty to disable)
},

View File

@@ -56,7 +56,7 @@ func TestDfGeneralJsonCfg(t *testing.T) {
Response_cache_ttl: utils.StringPointer("0s"),
Internal_ttl: utils.StringPointer("2m"),
Locking_timeout: utils.StringPointer("5s"),
Cache_dump_dir: utils.StringPointer("/var/lib/cgrates/cache_dump")}
Cache_dump_dir: utils.StringPointer("")}
if gCfg, err := dfCgrJsonCfg.GeneralJsonCfg(); err != nil {
t.Error(err)
} else if !reflect.DeepEqual(eCfg, gCfg) {