add more debug log messages
This commit is contained in:
parent
3a81728096
commit
4a6d052bb7
|
@ -92,6 +92,8 @@ func newPathManager(
|
|||
pm.metrics.onPathManagerSet(pm)
|
||||
}
|
||||
|
||||
pm.log(logger.Debug, "path manager opened")
|
||||
|
||||
pm.wg.Add(1)
|
||||
go pm.run()
|
||||
|
||||
|
@ -99,6 +101,7 @@ func newPathManager(
|
|||
}
|
||||
|
||||
func (pm *pathManager) close() {
|
||||
pm.log(logger.Debug, "path manager is closing")
|
||||
pm.ctxCancel()
|
||||
pm.wg.Wait()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue