mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Added GlobalVarS as service to manage the reload for the global variables
This commit is contained in:
committed by
Dan Christian Bogos
parent
e0e9190abf
commit
616f7b283c
@@ -251,6 +251,8 @@ func (srvMngr *ServiceManager) handleReload() {
|
||||
go srvMngr.reloadService(utils.SIPAgent)
|
||||
case <-srvMngr.GetConfig().GetReloadChan(config.DispatcherHJson):
|
||||
go srvMngr.reloadService(utils.DispatcherH)
|
||||
case <-srvMngr.GetConfig().GetReloadChan(config.HTTP_JSN):
|
||||
go srvMngr.reloadService(utils.GlobalVarS)
|
||||
}
|
||||
// handle RPC server
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user