mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 19:23:24 +00:00
fix(process): use monotonic time for provider execution budgets
This commit is contained in:
1 parent
b953f96c0a
commit
d9e9fb2273
6 files changed
+47
-12
No files matched your search
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user