diff --git a/cache/cache.go b/cache/cache.go index b4fa5233d..2426dac84 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -53,6 +53,7 @@ type transactionItem struct { } func init() { + // ToDo: revert to nil config as soon as we handle cacheInstances properly dfCfg, _ := config.NewDefaultCGRConfig() NewCache(dfCfg.CacheConfig) } diff --git a/data/conf/samples/tutmysql/cgrates.json b/data/conf/samples/tutmysql/cgrates.json index c4a024ed1..10b4f6588 100644 --- a/data/conf/samples/tutmysql/cgrates.json +++ b/data/conf/samples/tutmysql/cgrates.json @@ -24,7 +24,7 @@ "reverse_destinations": {"limit": 10000, "ttl":"0s", "precache": true}, "rating_plans": {"limit": 10000, "ttl":"0s","precache": true}, "rating_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "lcr": {"limit": 10000, "ttl":"0s", "precache": true}, + "lcr_rules": {"limit": 10000, "ttl":"0s", "precache": true}, "cdr_stats": {"limit": 10000, "ttl":"0s", "precache": true}, "actions": {"limit": 10000, "ttl":"0s", "precache": true}, "action_plans": {"limit": 10000, "ttl":"0s", "precache": true},