We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feedback received from Reddit user Hersenbeuker:
You're using blocking Diesel database calls: https://github.com/codi-hacks/weather-station/blob/master/api-server/src/sensors/routes.rs#L16 This blocks the async runtime, you have to use the actix block functions to move these calls to the actix threadpool: https://actix.rs/docs/databases/
You're using blocking Diesel database calls: https://github.com/codi-hacks/weather-station/blob/master/api-server/src/sensors/routes.rs#L16
This blocks the async runtime, you have to use the actix block functions to move these calls to the actix threadpool: https://actix.rs/docs/databases/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feedback received from Reddit user Hersenbeuker:
The text was updated successfully, but these errors were encountered: