-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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(relayer): restart indexer and crawler when they exit due to failed API requests #16465
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xiaodino
changed the title
Xiaodino/alpha 6 fix crawler 1
@xiaodino fix(relayer): restart indexer when the indexer exits due to failed API requests
Mar 16, 2024
xiaodino
changed the title
@xiaodino fix(relayer): restart indexer when the indexer exits due to failed API requests
fix(relayer): restart indexer when the indexer exits due to failed API requests
Mar 16, 2024
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## alpha-6 #16465 +/- ##
==========================================
Coverage ? 26.85%
==========================================
Files ? 102
Lines ? 6117
Branches ? 0
==========================================
Hits ? 1643
Misses ? 4298
Partials ? 176
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
xiaodino
changed the title
fix(relayer): restart indexer when the indexer exits due to failed API requests
fix(relayer): restart indexer and crawler when they exit due to failed API requests
Mar 18, 2024
davidtaikocha
approved these changes
Mar 18, 2024
mask-pp
reviewed
Mar 18, 2024
mask-pp
reviewed
Mar 18, 2024
mask-pp
approved these changes
Mar 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use https://relayer.katla.taiko.xyz/events?event=MessageSent&page=0&size=100&address=0x9e47FBb2a2A27B3b02E4a63b3eF5A3dC863c0223 as the example.
Before, the API response only returns 16 items. With the change, the API returns 19 items.
When a crawler is restarted, it will start from the last processing block height, rather than always from the genesis block.