Skip to content

Switch from block_in_place to spawn_blocking for async operations #9

@neysofu

Description

@neysofu

We currently use tokio::task::block_in_place for async operations within Rockbound, but we'd probably like to switch to spawn_blocking. spawn_blocking has some performance benefits and, most importantly, doesn't abort in case of panics but instead recovers from them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions