feat: stop container log capture on Docker die/oom events
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -98,6 +98,10 @@ public class DockerEventMonitor {
|
|||||||
}
|
}
|
||||||
replicas.set(i, updated);
|
replicas.set(i, updated);
|
||||||
changed = true;
|
changed = true;
|
||||||
|
// Stop log capture for this container — it's dead or stopped
|
||||||
|
if ("die".equals(action) || "oom".equals(action) || "stop".equals(action)) {
|
||||||
|
runtimeOrchestrator.stopLogCapture(containerId);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user