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
Historically diesel works synchronously while we need it asynchronous. We use actix-diesel library because the alternative tokio-diesel just didn't work. That's the reason we wrap our main with [actix::main], but everywhere else we explicitly use tokio.
It would be nice to try to switch to tokio completely to avoid mixing things up and make our codebase and dependencies a bit clearer.
It might not work and we could live with that, so this issue is "like-to-have" more that "must-have"
The text was updated successfully, but these errors were encountered:
At the moment we mix actix and tokio runtimes.
Historically
diesel
works synchronously while we need it asynchronous. We useactix-diesel
library because the alternativetokio-diesel
just didn't work. That's the reason we wrap our main with[actix::main]
, but everywhere else we explicitly usetokio
.It would be nice to try to switch to
tokio
completely to avoid mixing things up and make our codebase and dependencies a bit clearer.It might not work and we could live with that, so this issue is "like-to-have" more that "must-have"
The text was updated successfully, but these errors were encountered: