-
Notifications
You must be signed in to change notification settings - Fork 27
support tokio async runtimes #11
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
Comments
I'm not sure but this issue may be caused by using blocking APIs in |
Calling shutdown should not be necessary after calling We are still looking for a way to shutdown the rgb-node daemon process though. When that will be possible we could provide an rgb-lib method to shutdown. About the blocking calls to the proxy, I don't think those are the issue here and moreover we need them to be blocking |
I suppose this issue is not related to RGB-WG/rgb-node#208.
I'm inspecting how to fix the conflict with no API breakage. |
Sorry, I've misread the logs, you're right about conflicts between reqwest blocking and tokio async. Have you tried this solution seanmonstar/reqwest#1017 (comment) ? |
@zoedberg Thank you for your suggestion.
|
@monaka Please give a look at https://github.com/RGB-Tools/rgb-lib/tree/reqwest_async , I've switched to using the async version of |
@zoedberg Thank you for your kind support. |
merged in master |
Let me re-open this. I attach a part of the log. (Guess it might be useless...).
My failed test calls |
Just guess but it may be caused by this line. Line 1424 in b0dc38c
|
could you please provide the code to reproduce the issue? if you can't share the code, a minimal example is fine as well |
@nicbus Thank you for your response. I pushed my code public. |
How to reproduce:
|
I inspected this issue a little bit deeper.
|
Just a guess but this issue can be fixed by using |
Bingo. It can be resolved by using @nicbus @zoedberg This issue can be resolved on my appication side. |
@zoedberg Surely CI builds on shiro-backend (main branch) is failing. |
Hello,
I'm working to create a wallet-backend.
And I'm getting one test failure.
All other tests are passed.
I suppose it is required to call a shutdown code after I call
Wallet::new()
.How can I shut down my wallet safely?
The text was updated successfully, but these errors were encountered: