-
Notifications
You must be signed in to change notification settings - Fork 349
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
Use the new tokio LocalRuntime
in actix_rt
#597
Comments
This is also likely to improve your performance a bit. |
It's also possible that |
You should leave this in the LocalSet issue thread as well so folks know that the macros are something you care about. |
We will still need the system and arbiter concepts so pretty sure we will keep the crate around for some time. |
We'd only need them for actors. The crate can stay around but it would be removed from the dependency tree of |
This is a tracking issue
Tokio is deprecating the
LocalSet
(tokio-rs/tokio#6741) in favour of a newLocalRuntime
(tokio-rs/tokio#6739) which will avoid panics if a user mixestokio::spawn
withtokio::spawn_local
/actix_rt::spawn
. It should also improve performances.Once this is released we should migrate to the new runtime.
The text was updated successfully, but these errors were encountered: