Skip to content

Blocking file io to async file io #445

@RealXuChe

Description

@RealXuChe

In file_upload.rs , file io used std::fs::File, which was blocking.

Please consider do the file io in a separate thread.

The example of actix can be a good reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions