Skip to content

Commit

Permalink
Increase max block lag time to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Feb 13, 2024
1 parent ea7178c commit 7d50bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ router.get('/account/:accountId/key/:publicKey', resolveBlockHeight, async ctx =
};
});

const MAX_BLOCK_LAG_TIME_MS = 20000;
const MAX_BLOCK_LAG_TIME_MS = 60_000;
router.get('/healthz', async ctx => {
const latestBlockHeight = await storage.getLatestBlockHeight();
const latestBlockTimestamp = (await storage.getBlockTimestamp(latestBlockHeight)) / 1000000;
Expand Down

0 comments on commit 7d50bb8

Please sign in to comment.