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
I noticed a lot of errors in logs:
WARN database_metrics: sqlx::query: slow statement: execution time exceeded alert threshold summary="SELECT COUNT() FROM app_data …" db.statement="\n\nSELECT\n COUNT()\nFROM\n app_data AS a\n LEFT JOIN orders o ON a.contract_app_data = o.app_data\nWHERE\n o.app_data IS NULL;\n" rows_affected=0 rows_returned=1 elapsed=9.034524172s elapsed_secs=9.034524172 slow_threshold=1s
I believe this is related to this query:
https://github.com/cowprotocol/services/blob/main/crates/autopilot/src/database/mod.rs#L92-L104
We should check the performance of this query.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Background
I noticed a lot of errors in logs:
I believe this is related to this query:
https://github.com/cowprotocol/services/blob/main/crates/autopilot/src/database/mod.rs#L92-L104
We should check the performance of this query.
The text was updated successfully, but these errors were encountered: