Skip to content

Use the new tokio LocalRuntime in actix_rt #597

@Sytten

Description

@Sytten

This is a tracking issue

Tokio is deprecating the LocalSet (tokio-rs/tokio#6741) in favour of a new LocalRuntime (tokio-rs/tokio#6739) which will avoid panics if a user mixes tokio::spawn with tokio::spawn_local/actix_rt::spawn. It should also improve performances.

Once this is released we should migrate to the new runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions