From f4b3839bffacb54e9fd0a0af15741cfacf405cfa Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 18 Jul 2016 20:49:11 +0300 Subject: [PATCH] no faststart by default --- config/config_defaults.go | 2 +- config/config_json_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config_defaults.go b/config/config_defaults.go index 18a69932b..43f9fd05a 100644 --- a/config/config_defaults.go +++ b/config/config_defaults.go @@ -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) }, diff --git a/config/config_json_test.go b/config/config_json_test.go index 451d8b672..70d5225c7 100644 --- a/config/config_json_test.go +++ b/config/config_json_test.go @@ -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) {