mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 11:06:25 +05:00
added improved ApierV2 GetDestinations
This commit is contained in:
@@ -82,6 +82,7 @@ func CachedDestHasPrefix(destId, prefix string) bool {
|
||||
}
|
||||
|
||||
func CleanStalePrefixes(destIds []string) {
|
||||
utils.Logger.Info("Cleaning stale dest prefixes: " + utils.ToJSON(destIds))
|
||||
prefixMap, err := cache2go.GetAllEntries(utils.DESTINATION_PREFIX)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user