mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Starting services message uniformity
This commit is contained in:
committed by
Dan Christian Bogos
parent
bee505b278
commit
e511a2e110
@@ -139,6 +139,7 @@ type ThresholdService struct {
|
||||
|
||||
// Called to start the service
|
||||
func (tS *ThresholdService) ListenAndServe(exitChan chan bool) error {
|
||||
utils.Logger.Info(fmt.Sprintf("<%s> starting <%s> subsystem", utils.CoreS, utils.ThresholdS))
|
||||
go tS.runBackup() // start backup loop
|
||||
e := <-exitChan
|
||||
exitChan <- e // put back for the others listening for shutdown request
|
||||
|
||||
Reference in New Issue
Block a user