Port dispatcher changes from 1.0 to v0.11

This commit is contained in:
ionutboangiu
2022-09-22 09:16:05 +03:00
committed by Dan Christian Bogos
parent 72ee7ef7ee
commit 895c140209
43 changed files with 1730 additions and 406 deletions

View File

@@ -47,7 +47,7 @@ func NewServiceManager(cfg *config.CGRConfig, shdChan *utils.SyncedChan, shdWg *
type ServiceManager struct {
sync.RWMutex // lock access to any shared data
cfg *config.CGRConfig
subsystems map[string]Service
subsystems map[string]Service // active subsystems managed by SM
shdChan *utils.SyncedChan
shdWg *sync.WaitGroup