refactor(background-agent): optimize task timing and constants management

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-02-01 19:01:30 +09:00
parent 7f9fcc708f
commit 09e738c989
3 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
let POLL_INTERVAL_MS = 500
let POLL_INTERVAL_MS = 1000
let MIN_STABILITY_TIME_MS = 10000
let STABILITY_POLLS_REQUIRED = 3
let WAIT_FOR_SESSION_INTERVAL_MS = 100
@@ -19,7 +19,7 @@ export function getTimingConfig() {
}
export function __resetTimingConfig(): void {
POLL_INTERVAL_MS = 500
POLL_INTERVAL_MS = 1000
MIN_STABILITY_TIME_MS = 10000
STABILITY_POLLS_REQUIRED = 3
WAIT_FOR_SESSION_INTERVAL_MS = 100