mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 06:09:53 +05:00
Fixed rates not turning on
This commit is contained in:
committed by
Dan Christian Bogos
parent
b835bd5604
commit
f25198eb21
@@ -123,7 +123,6 @@ func (cS *CacheService) WaitToPrecache(ctx *context.Context, cacheIDs ...string)
|
||||
case cacheS = <-cS.cacheCh:
|
||||
cS.cacheCh <- cacheS
|
||||
}
|
||||
return
|
||||
|
||||
for _, cacheID := range cacheIDs {
|
||||
select {
|
||||
|
||||
@@ -164,6 +164,7 @@ func cgrStartFilterService(ctx *context.Context, iFilterSCh chan *engine.FilterS
|
||||
var cacheS *engine.CacheS
|
||||
select {
|
||||
case cacheS = <-cacheSCh:
|
||||
cacheSCh <- cacheS
|
||||
case <-ctx.Done():
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user