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