mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Add dump and restore functionality for internal DBs
This commit is contained in:
committed by
Dan Christian Bogos
parent
17248c5dde
commit
a168f262e2
@@ -61,7 +61,7 @@ func NewERService(cfg *config.CGRConfig, datadb *engine.DataManager, filterS *en
|
||||
filterS: filterS,
|
||||
connMgr: connMgr,
|
||||
}
|
||||
ers.partialCache = ltcache.NewCache(ltcache.UnlimitedCaching, cfg.ERsCfg().PartialCacheTTL, false, ers.onEvicted)
|
||||
ers.partialCache = ltcache.NewCache(ltcache.UnlimitedCaching, cfg.ERsCfg().PartialCacheTTL, false, false, []func(itmID string, value any){ers.onEvicted})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user