-
Notifications
You must be signed in to change notification settings - Fork 184
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
Move latest block fetch out of store callback #1253
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1253 +/- ##
==========================================
- Coverage 73.79% 73.78% -0.01%
==========================================
Files 70 70
Lines 7608 7633 +25
==========================================
+ Hits 5614 5632 +18
- Misses 1535 1540 +5
- Partials 459 461 +2
☔ View full report in Codecov by Sentry. |
7ddb89b
to
f9b6ff9
Compare
store callback is on the hot path of sync process, a network request is not suitable to be here since it blocks the entire sync process for arbitrarily long
f9b6ff9
to
3b6b771
Compare
This is a general comment about |
store callback is on the hot path of sync process, a network request is not suitable to be here since it blocks the entire sync process for arbitrarily long