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

Chunk realtime balances requests #7873

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Conversation

Qwerty5Uiop
Copy link
Collaborator

@Qwerty5Uiop Qwerty5Uiop commented Jul 7, 2023

Fix #7874

Motivation

Batch size of balances that are requested by realtime block fetcher is not limited, so there may be a situation when amount of such requests is larger than requests batch size limit on node, which will lead to the failed block import.

Changelog

Added separation balances requests by chunks with size equal to batch size of coin balance fetcher to the realtime fetcher.

@Qwerty5Uiop Qwerty5Uiop force-pushed the chunk-realtime-balances-requests branch 2 times, most recently from ba112a7 to 996a8d6 Compare July 7, 2023 11:30
@Qwerty5Uiop Qwerty5Uiop force-pushed the chunk-realtime-balances-requests branch from 996a8d6 to 30e5e09 Compare July 18, 2023 12:24
@vbaranov vbaranov merged commit 070bd3b into master Jul 18, 2023
15 checks passed
@vbaranov vbaranov deleted the chunk-realtime-balances-requests branch July 18, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix coin balances huge batch request
4 participants