There was an error while loading. Please reload this page.
2 parents cab4652 + c119423 commit fa0d196Copy full SHA for fa0d196
1 file changed
web/lib/scheduler.ts
@@ -28,7 +28,6 @@ import {
28
DAY_IN_MILLISECONDS,
29
isDateAfter,
30
MINUTE_IN_MILLISECONDS,
31
- SECOND_IN_MILLISECONDS,
32
subtractMilliseconds,
33
} from "@/lib/date";
34
import { deployServiceInternal } from "@/lib/deploy-service";
@@ -49,7 +48,7 @@ import {
49
48
WORK_QUEUE_MAX_ATTEMPTS,
50
} from "@/lib/work-queue";
51
52
-const STALE_THRESHOLD_MS = 75 * SECOND_IN_MILLISECONDS;
+const STALE_THRESHOLD_MS = 3 * MINUTE_IN_MILLISECONDS;
53
export const AUTOMATIC_PLACEMENT_COOLDOWN_MS = 30 * MINUTE_IN_MILLISECONDS;
54
export const MAX_REBALANCES_PER_RUN = 5;
55
export const MAX_AUTOMATIC_RECOVERIES_PER_RUN = 5;
0 commit comments