fix(process): use monotonic time for provider execution budgets

This commit is contained in:
morluto committed 2026-10-13 15:01:59 +08:00
1 parent b953f96c0a
commit d9e9fb2273
6 files changed
+47 -12

No files matched your search

+1 -1
View File
@@ -279,6 +279,6 @@ export const checkRecoveryDeadline = (
signal?: AbortSignal,
): void => {
checkRecoveryCancellation(signal);
if (Date.now() >= deadline)
if (performance.now() >= deadline)
throw new AnalysisTimeoutError(OPERATION, RECOVERY_LIMITS.timeoutMs);
};