You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Diesel is a synchronous db, so surely executing it will block the main thread on request without using web::block?
The current versions of Diesel (v1/v2) does not support asynchronous operations, so it is important to use the web::block function to offload your database operations to the Actix runtime thread-pool.
Diesel is a synchronous db, so surely executing it will block the main thread on request without using
web::block
?https://actix.rs/docs/databases/
The text was updated successfully, but these errors were encountered: