-
Notifications
You must be signed in to change notification settings - Fork 120
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
change(zebrad): opens the database in a blocking tokio thread, which allows tokio to run other tasks #5228
Conversation
bd3bb89
to
84be954
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5228 +/- ##
==========================================
+ Coverage 79.13% 79.21% +0.08%
==========================================
Files 307 307
Lines 39225 39229 +4
==========================================
+ Hits 31039 31074 +35
+ Misses 8186 8155 -31 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like how you designed the new API, and the tests!
@arya2 looks like this failed in the Mergify PR, did you need help working out why? |
Yes please. |
I just realised we didn't have this documented anywhere, so I wrote something up: In summary, we go to the Mergify PR and find the errors on that PR, just like we would any other PR. It looks like this one failed downloading and caching the Zcash parameters. That's a transient network error, so we can just retry Mergify. |
@Mergifyio refresh |
✅ Pull request refreshed |
@Mergifyio refresh |
✅ Pull request refreshed |
@Mergifyio refresh |
✅ Pull request refreshed |
@Mergifyio refresh |
✅ Pull request refreshed |
download-params is failing on main too. There's currently no actions cache for this PR, I'll try clearing all of the caches if it fails again. |
@Mergifyio update |
✅ Branch has been successfully updated |
It looks like this is actually a Rust 1.64 issue, see #5251 |
@Mergifyio update |
✅ Branch has been successfully updated |
Motivation
To allow tokio to run other tasks while the database is opening and to tell users that it may take a couple minutes
Closes #4821.
Solution
Review
This PR is part of regular scheduled work.
Reviewer Checklist
Follow Up Work