Skip to content

Commit 817056f

Browse files
authored
chore: Increase nonce check to alert after 5 minutes (#691)
1 parent 39f45d5 commit 817056f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/worker/tasks/nonceHealthCheckWorker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { logWorkerExceptions } from "../queues/queues";
1313
// Configuration
1414

1515
// Number of consecutive periods to check
16-
// Checking over multiple periods helps to avoid false positives due to timing issues
17-
const CHECK_PERIODS = 3;
16+
// Checking over multiple periods avoids false positives due to intermittent stale RPC responses.
17+
const CHECK_PERIODS = 5;
1818

1919
// Frequency of the worker
2020
const RUN_FREQUENCY_SECONDS = 60; // Run every minute

0 commit comments

Comments
 (0)