mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
revise IPService implementation
This commit is contained in:
committed by
Dan Christian Bogos
parent
5aee85a12d
commit
eb372148d1
@@ -126,7 +126,7 @@ func TestDataDBReload(t *testing.T) {
|
||||
utils.MetaIPProfiles: {Limit: -1},
|
||||
utils.MetaStatQueues: {Limit: -1},
|
||||
utils.MetaResources: {Limit: -1},
|
||||
utils.MetaIPs: {Limit: -1},
|
||||
utils.MetaIPAllocations: {Limit: -1},
|
||||
utils.MetaStatQueueProfiles: {Limit: -1},
|
||||
utils.MetaRankings: {Limit: -1},
|
||||
utils.MetaRankingProfiles: {Limit: -1},
|
||||
|
||||
@@ -75,7 +75,7 @@ func (s *IPService) Start() error {
|
||||
}
|
||||
s.srvDep[utils.DataDB].Add(1)
|
||||
<-s.cache.GetPrecacheChannel(utils.CacheIPProfiles)
|
||||
<-s.cache.GetPrecacheChannel(utils.CacheIPs)
|
||||
<-s.cache.GetPrecacheChannel(utils.CacheIPAllocations)
|
||||
<-s.cache.GetPrecacheChannel(utils.CacheIPFilterIndexes)
|
||||
|
||||
fltrs := <-s.fsChan
|
||||
|
||||
Reference in New Issue
Block a user