Precache lcr rules within tutorial config

This commit is contained in:
DanB
2017-07-24 20:26:56 +02:00
parent 76db6a03f2
commit dfb1cde2a2
2 changed files with 2 additions and 1 deletions

1
cache/cache.go vendored
View File

@@ -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)
}

View File

@@ -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},