This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Wallet might block contract setup #2453
Comments
This is related: #947 |
I can confirm this:
see that nothing is happening until the maker sync is done. |
We are blocking the tokio from the Wallet actor, which I think is probably one of the issues |
This was referenced Jul 19, 2022
bors bot
added a commit
that referenced
this issue
Jul 19, 2022
2469: Spawn wallet actor as a blocking task r=klochowicz a=Restioson This is solution 2 to #2453. It spawns the wallet actor as a blocking task. I am not 100% sure if this will correctly make the thread park when nothing is being sent to the wallet actor. Co-authored-by: Restioson <[email protected]>
let's hope that #2469 made it better |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have the suspicion that our wallet actor might be the source of blocked/delayed contract setup:
The wallet actor syncs synchronously, meaning, it is blocked for the time it is syncing. This can be a significant amount of time (>40 seconds). In the meantime, the actor is not able to handle other messages.
However, in the contract setup we need to ask this actor for information
The text was updated successfully, but these errors were encountered: