-
Notifications
You must be signed in to change notification settings - Fork 632
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
start client actor in a separate thread #6333
Conversation
Yeah, this makes total sense! One thing to note that, as we now spawn And yeah, I feel that the fundamental problem is that whatever actix is doing internally is poorly documented, opaque, and doesn't actually help us much. Given the size and complexity of near, it makes sense for us to own our event loop, rather than to hide it in third-party actor framework without significant usage. |
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.
Epic! I saw this failure in CI pthread destroy mutex: Device or resource busy
which is interesting.
I hope that #6326 will fix this. |
It seems that starting the actor in the 'current' thread (as we do right now) - is causing a bunch of issues (impacting the messages that are going to other actors)