fix(idlewatcher): remove duplicated w.readyNotifyCh notification

This commit is contained in:
yusing
2026-01-17 16:07:40 +08:00
parent 46f88964bf
commit b1953d86c2

View File

@@ -612,10 +612,6 @@ func (w *Watcher) watchUntilDestroy() (returnCause error) {
if ready {
// Container is now ready, notify waiting handlers
w.healthTicker.Stop()
select {
case w.readyNotifyCh <- struct{}{}:
default: // channel full, notification already pending
}
w.resetIdleTimer()
}
// If not ready yet, keep checking on next tick