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]>

Revert "fix: updated MIRROR_NODE_RETRY_DELAY to 2000ms (#2371)"

This reverts commit ec860ef.

Update mirrorNodeClient.ts

Signed-off-by: Logan Nguyen <[email protected]>

Revert "fix: updated MIRROR_NODE_RETRY_DELAY to 2000ms (#2371)"

Signed-off-by: Logan Nguyen <[email protected]>

test: divided ws-server total acceptancetest into batches

Signed-off-by: Logan Nguyen <[email protected]>

Revert "test: divided ws-server total acceptancetest into batches"

This reverts commit 98f0bd2.

test: divided ws-server total acceptancetest into batches (#2382)

Signed-off-by: Logan Nguyen <[email protected]>

fix: updated MIRROR_NODE_RETRY_DELAY to 2000ms (#2371)

Signed-off-by: Logan Nguyen <[email protected]>

Revert "test: divided ws-server total acceptancetest into batches"

This reverts commit f7950f4.
  • Loading branch information
quiet-node committed Apr 23, 2024
1 parent 0dbd264 commit a81ba62
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 a81ba62

Please sign in to comment.