mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
Precache lcr rules within tutorial config
This commit is contained in:
1
cache/cache.go
vendored
1
cache/cache.go
vendored
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user