Merge pull request #3241 from cpkt9762/fix/configurable-task-cleanup-delay

feat(background-task): make taskCleanupDelayMs configurable
This commit is contained in:
YeonGyu-Kim
2026-05-21 12:58:54 +09:00
committed by GitHub
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -2157,7 +2157,7 @@ The task was re-queued on a fallback model after a retryable failure.
SessionCategoryRegistry.remove(task.sessionId)
}
log("[background-agent] Removed completed task from memory:", taskId)
}, TASK_CLEANUP_DELAY_MS)
}, this.config?.taskCleanupDelayMs ?? TASK_CLEANUP_DELAY_MS)
this.completionTimers.set(taskId, timer)
}