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:
hsiegeln
2026-04-14 23:19:26 +02:00
parent 49c7de7082
commit 81f42d5409

View File

@@ -98,6 +98,10 @@ public class DockerEventMonitor {
}
replicas.set(i, updated);
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;
}
}