niujiuru il y a 3 semaines
Parent
commit
d359af310c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sshd/sshd.go

+ 1 - 1
sshd/sshd.go

@@ -372,7 +372,7 @@ func (c *MQTTCoupler) startExecutorReaper(interval, timeout time.Duration) {
 				idle := (ce.state == execIdle)
 				ce.mu.Unlock()
 
-				if expired && idle { // 超时且执行器状态空闲, 回收该执行器
+				if expired && idle { // 超时且状态空闲时则回收
 					ce.handleClose()
 					delete(c.executorMap, id)
 				} // end if