Merge pull request #397 from gsd-build/perf/dispatch-timeout
perf: reduce dispatch gap timeout from 30s to 5s
This commit is contained in:
commit
7f0caffd65
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ let idleWatchdogHandle: ReturnType<typeof setInterval> | null = null;
|
|||
* re-evaluation. Covers the case where dispatchNextUnit silently fails or
|
||||
* an unhandled error kills the dispatch chain. */
|
||||
let dispatchGapHandle: ReturnType<typeof setTimeout> | null = null;
|
||||
const DISPATCH_GAP_TIMEOUT_MS = 30_000; // 30 seconds
|
||||
const DISPATCH_GAP_TIMEOUT_MS = 5_000; // 5 seconds
|
||||
|
||||
/** SIGTERM handler registered while auto-mode is active — cleared on stop/pause. */
|
||||
let _sigtermHandler: (() => void) | null = null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue