Merge remote-tracking branch 'origin/main' into clippy-formatting

This commit is contained in:
Yuriy Dupyn 2024-01-28 22:27:03 +01:00
commit b836ba5e04
4 changed files with 122 additions and 32 deletions

View file

@ -169,6 +169,9 @@ async fn handle_query<W>(writer: &mut W, state: &SharedDbState, query: String, t
where
W: BackendProtoWriter + ProtoFlush + Send,
{
// Make sure token is reset before next query
token.reset();
let operation = {
let state = state.read().await;
let db_schema = state.db_schema();