mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Get/Set AccountActions mapping in storage, renamed OnlineStor interface into DataDB, populate APIer cache methods with AcccountActionPlans
This commit is contained in:
5
cache/cache_store.go
vendored
5
cache/cache_store.go
vendored
@@ -152,6 +152,11 @@ func newLruStore() lrustore {
|
||||
} else {
|
||||
c[utils.ACTION_PLAN_PREFIX], _ = lru.New(10000)
|
||||
}
|
||||
if cfg != nil && cfg.AccountActionPlans != nil {
|
||||
c[utils.AccountActionPlansPrefix], _ = lru.New(cfg.AccountActionPlans.Limit)
|
||||
} else {
|
||||
c[utils.AccountActionPlansPrefix], _ = lru.New(10000)
|
||||
}
|
||||
if cfg != nil && cfg.ActionTriggers != nil {
|
||||
c[utils.ACTION_TRIGGER_PREFIX], _ = lru.New(cfg.ActionTriggers.Limit)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user