mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16: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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user