Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updated MIRROR_NODE_RETRY_DELAY to 1800ms (#2371) #2372

Conversation

quiet-node
Copy link
Member

@quiet-node quiet-node commented Apr 18, 2024

Description:
this PR updated the MIRROR_NODE_RETRY_DELAY to 1800ms to extend the delayed duration between repeated retries to the mirror node

Initially it was discussed to be 2000ms, but 2000ms seems a little bit long so eth_getLogs seems to skip blocks. In anoother way, instead of getting the logs in the consecutive block, with delay being 2000ms, eth_getLogs will jump to the second next block in the specified range.

Related issue(s):

Fixes #2371

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Copy link

github-actions bot commented Apr 18, 2024

Tests

    2 files  147 suites   13s ⏱️
815 tests 814 ✔️ 1 💤 0
827 runs  826 ✔️ 1 💤 0

Results for commit 9bbdbe8.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 18, 2024

Acceptance Tests

     25 files     420 suites   31m 31s ⏱️
   582 tests    572 ✔️   3 💤   7
1 641 runs  1 600 ✔️ 23 💤 18

Results for commit 9bbdbe8.

♻️ This comment has been updated with latest results.

@quiet-node quiet-node force-pushed the 2371-increase-mirror_node_retry_delay-value-to-expand-the-delayed-duration-between-repeated-retries-to-the-mirror-nodes branch from 87be113 to 3cd96bb Compare April 19, 2024 19:47
@quiet-node quiet-node marked this pull request as draft April 19, 2024 20:28
@quiet-node quiet-node force-pushed the 2371-increase-mirror_node_retry_delay-value-to-expand-the-delayed-duration-between-repeated-retries-to-the-mirror-nodes branch from 4871272 to a1315f5 Compare April 19, 2024 21:13
@quiet-node quiet-node marked this pull request as ready for review April 19, 2024 21:15
@quiet-node quiet-node force-pushed the 2371-increase-mirror_node_retry_delay-value-to-expand-the-delayed-duration-between-repeated-retries-to-the-mirror-nodes branch from a1315f5 to 9cd6c02 Compare April 22, 2024 14:17
@quiet-node quiet-node marked this pull request as draft April 22, 2024 14:18
@quiet-node quiet-node force-pushed the 2371-increase-mirror_node_retry_delay-value-to-expand-the-delayed-duration-between-repeated-retries-to-the-mirror-nodes branch 11 times, most recently from a81ba62 to 63f6c01 Compare April 23, 2024 20:28
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.
@quiet-node quiet-node force-pushed the 2371-increase-mirror_node_retry_delay-value-to-expand-the-delayed-duration-between-repeated-retries-to-the-mirror-nodes branch from 63f6c01 to d93fe9e Compare April 23, 2024 23:28
@quiet-node quiet-node marked this pull request as ready for review April 24, 2024 02:39
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@quiet-node quiet-node changed the title fix: updated MIRROR_NODE_RETRY_DELAY to 2000ms (#2371) fix: updated MIRROR_NODE_RETRY_DELAY to 1800ms (#2371) Apr 24, 2024
Copy link
Collaborator

@AlfredoG87 AlfredoG87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@quiet-node quiet-node merged commit f4acf21 into main Apr 24, 2024
34 checks passed
@quiet-node quiet-node deleted the 2371-increase-mirror_node_retry_delay-value-to-expand-the-delayed-duration-between-repeated-retries-to-the-mirror-nodes branch April 24, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants