mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-05 16:06:51 +08:00
update
This commit is contained in:
@@ -281,7 +281,7 @@ func (p *ProcessBase) monitorHanler() {
|
||||
ticker := time.NewTicker(time.Second * time.Duration(config.CF.PerformanceInfoInterval))
|
||||
defer ticker.Stop()
|
||||
for {
|
||||
if p.State.State != 1 {
|
||||
if p.State.State != eum.ProcessStateStart {
|
||||
log.Logger.Debugw("进程未在运行", "state", p.State.State)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user