Add Filter in Cache

This commit is contained in:
TeoV
2017-10-25 17:39:26 +03:00
committed by Dan Christian Bogos
parent 383d0f3257
commit ff92d3f5a4
27 changed files with 115 additions and 45 deletions

View File

@@ -674,6 +674,7 @@ type ArgsCache struct {
StatsQueueProfileIDs *[]string
ThresholdIDs *[]string
ThresholdProfileIDs *[]string
FilterIDs *[]string
}
// Data used to do remote cache reloads via api
@@ -714,6 +715,7 @@ type CacheStats struct {
StatQueueProfiles int
Thresholds int
ThresholdProfiles int
Filters int
}
type AttrExpFileCdrs struct {

View File

@@ -474,6 +474,7 @@ const (
ResourceS = "ResourceS"
CacheThresholdProfiles = "threshold_profiles"
CacheThresholds = "thresholds"
CacheFilters = "filters"
AccountUpdate = "AccountUpdate"
BalanceUpdate = "BalanceUpdate"
StatUpdate = "StatUpdate"