Skip to content

Commit

Permalink
fix: updated MIRROR_NODE_RETRY_DELAY to 2000ms (#2371)
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Apr 22, 2024
1 parent 98f0bd2 commit 91878dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/relay/src/lib/clients/mirrorNodeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class MirrorNodeClient {
private static ACCOUNT_TIMESTAMP_PROPERTY = 'timestamp';
private static ACCOUNT_TRANSACTION_TYPE_PROPERTY = 'transactiontype';
private static CONTRACT_RESULT_LOGS_PROPERTY = 'logs';
private readonly MIRROR_NODE_RETRY_DELAY = parseInt(process.env.MIRROR_NODE_RETRY_DELAY || '250');
private readonly MIRROR_NODE_RETRY_DELAY = parseInt(process.env.MIRROR_NODE_RETRY_DELAY || '2000');

static acceptedErrorStatusesResponsePerRequestPathMap: Map<string, Array<number>> = new Map([
[MirrorNodeClient.GET_ACCOUNTS_BY_ID_ENDPOINT, [404]],
Expand Down

0 comments on commit 91878dc

Please sign in to comment.