mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
no faststart by default
This commit is contained in:
@@ -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)
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user