We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b26cf4 commit 8f4592dCopy full SHA for 8f4592d
1 file changed
crates/challenge-orchestrator/src/lib.rs
@@ -256,15 +256,15 @@ impl ChallengeOrchestrator {
256
///
257
/// Called periodically to prevent Docker from accumulating orphaned containers.
258
pub async fn cleanup_stale_task_containers(&self) -> anyhow::Result<CleanupResult> {
259
- // Clean up term-challenge task containers older than 30 minutes
+ // Clean up term-challenge task containers older than 2 hours
260
// Exclude:
261
// - challenge-* (main challenge containers managed by orchestrator)
262
// - platform-* (validator, watchtower)
263
let result = self
264
.docker
265
.cleanup_stale_containers(
266
"term-challenge-",
267
- 30, // 30 minutes old
+ 120, // 2 hours old
268
&["challenge-term-challenge", "platform-"],
269
)
270
.await?;
0 commit comments