diff --git a/data/conf/samples/internal/cgrates.json b/data/conf/samples/dbinternal/cgrates.json similarity index 50% rename from data/conf/samples/internal/cgrates.json rename to data/conf/samples/dbinternal/cgrates.json index 31562e94e..1daf73266 100755 --- a/data/conf/samples/internal/cgrates.json +++ b/data/conf/samples/dbinternal/cgrates.json @@ -25,43 +25,6 @@ }, -"cache":{ - "destinations": {"limit": 10000, "ttl":"0s", "precache": true}, - "reverse_destinations": {"limit": 10000, "ttl":"0s", "precache": true}, - "rating_plans": {"limit": 10000, "ttl":"0s","precache": true}, - "rating_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "lcr_rules": {"limit": 10000, "ttl":"0s", "precache": true}, - "cdr_stats": {"limit": 10000, "ttl":"0s", "precache": true}, - "actions": {"limit": 10000, "ttl":"0s", "precache": true}, - "action_plans": {"limit": 10000, "ttl":"0s", "precache": true}, - "account_action_plans": {"limit": 10000, "ttl":"0s", "precache": true}, - "action_triggers": {"limit": 10000, "ttl":"0s", "precache": true}, - "shared_groups": {"limit": 10000, "ttl":"0s", "precache": true}, - "aliases": {"limit": 10000, "ttl":"0s", "precache": true}, - "reverse_aliases": {"limit": 10000, "ttl":"0s", "precache": true}, - "derived_chargers": {"limit": 10000, "ttl":"0s", "precache": true}, - "resource_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "resources": {"limit": 10000, "ttl":"0s", "precache": true}, - "statqueues": {"limit": 10000, "ttl":"0s", "precache": true}, - "statqueue_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "thresholds": {"limit": 10000, "ttl":"0s", "precache": true}, - "threshold_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "filters": {"limit": 10000, "ttl":"0s", "precache": true}, - "supplier_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "attribute_profiles": {"limit": 10000, "ttl":"0s", "precache": true}, - "resource_filter_indexes" :{"limit": 10000, "ttl":"0s"}, - "resource_filter_revindexes" : {"limit": 10000, "ttl":"0s"}, - "stat_filter_indexes" : {"limit": 10000, "ttl":"0s"}, - "stat_filter_revindexes" : {"limit": 10000, "ttl":"0s"}, - "threshold_filter_indexes" : {"limit": 10000, "ttl":"0s"}, - "threshold_filter_revindexes" : {"limit": 10000, "ttl":"0s"}, - "supplier_filter_indexes" : {"limit": 10000, "ttl":"0s"}, - "supplier_filter_revindexes" :{"limit": 10000, "ttl":"0s"}, - "attribute_filter_indexes" : {"limit": 10000, "ttl":"0s"}, - "attribute_filter_revindexes" : {"limit": 10000, "ttl":"0s"}, -}, - - "rals": { "enabled": true, "thresholds_conns": [ diff --git a/engine/storage_map_datadb.go b/engine/storage_map_datadb.go index 5331af006..17e668d3e 100644 --- a/engine/storage_map_datadb.go +++ b/engine/storage_map_datadb.go @@ -1350,7 +1350,7 @@ func (ms *MapStorage) GetFilterReverseIndexesDrv(cacheID, itemIDPrefix string, return nil, err } indexes = make(map[string]utils.StringMap) - for fldName, _ := range fldNameVal { + for fldName := range fldNameVal { if _, has := indexes[fldName]; !has { indexes[fldName] = make(utils.StringMap) }