mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
DispatcherS - cache routeID with dispatcherProfile as group
This commit is contained in:
@@ -469,9 +469,10 @@ func callDH(ctx *context.Context,
|
||||
utils.MetaSubsys: utils.MetaDispatchers,
|
||||
utils.MetaNodeID: cfg.GeneralCfg().NodeID,
|
||||
},
|
||||
CacheID: utils.CacheDispatcherRoutes,
|
||||
ItemID: routeID,
|
||||
Value: dR,
|
||||
CacheID: utils.CacheDispatcherRoutes,
|
||||
ItemID: routeID,
|
||||
Value: dR,
|
||||
GroupIDs: []string{utils.ConcatenatedKey(utils.CacheDispatcherProfiles, dR.Tenant, dR.ProfileID)},
|
||||
}
|
||||
if err = engine.Cache.SetWithReplicate(ctx, argsCache); err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user