-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Labels
area::asyncRelated to async/.await functionalityRelated to async/.await functionalitybugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem rightwontfixThis will not be worked onThis will not be worked on
Milestone
Description
execute_validated_query_async is using std::sync::RwLock which blocks the thread while waiting to read/write, this will probably block the whole runtime if running under tokio's basic_scheduler.
Both tokio and async-std offer async versions of the RwLock, there's also the futures crate Mutex
xlaxla
Metadata
Metadata
Assignees
Labels
area::asyncRelated to async/.await functionalityRelated to async/.await functionalitybugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem rightwontfixThis will not be worked onThis will not be worked on