Skip to content

Commit

Permalink
Revert unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Sep 24, 2024
1 parent bdc2563 commit 630adc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relayer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function runRelayer(_logger: winston.Logger, baseSigner: Signer): P
const ready = await relayer.update();
const activeRelayer = redis ? await redis.get(botIdentifier) : undefined;

// If there is another active relayer, allow up to 20 update cycles for this instance to be ready,
// If there is another active relayer, allow up to 120 seconds for this instance to be ready,
// then proceed unconditionally to protect against any RPC outages blocking the relayer.
if (!ready && activeRelayer) {
if (run * pollingDelay < 120) {
Expand Down

0 comments on commit 630adc2

Please sign in to comment.