mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
add support for batched index keys removal
This commit is contained in:
committed by
Dan Christian Bogos
parent
164078bbbb
commit
8d05c14aec
@@ -79,7 +79,7 @@ func (apierSv1 *APIerSv1) RemoveFilterIndexes(ctx *context.Context, arg *AttrRem
|
||||
arg.ItemType = utils.CacheAttributeFilterIndexes
|
||||
tntCtx = utils.ConcatenatedKey(tnt, arg.Context)
|
||||
}
|
||||
if err = apierSv1.DataManager.RemoveIndexes(arg.ItemType, tntCtx, utils.EmptyString); err != nil {
|
||||
if err = apierSv1.DataManager.RemoveIndexes(arg.ItemType, tntCtx); err != nil {
|
||||
return
|
||||
}
|
||||
//generate a loadID for CacheFilterIndexes and store it in database
|
||||
|
||||
Reference in New Issue
Block a user