fix: cancellation before next query
This commit is contained in:
parent
18d47b54ce
commit
65a469e8b9
1 changed files with 3 additions and 0 deletions
|
|
@ -167,6 +167,9 @@ async fn handle_query<W>(writer: &mut W, state: &SharedDbState, query: String, t
|
||||||
where
|
where
|
||||||
W: BackendProtoWriter + ProtoFlush + Send,
|
W: BackendProtoWriter + ProtoFlush + Send,
|
||||||
{
|
{
|
||||||
|
// Make sure token is reset before next query
|
||||||
|
token.reset();
|
||||||
|
|
||||||
let operation = {
|
let operation = {
|
||||||
let state = state.read().await;
|
let state = state.read().await;
|
||||||
let db_schema = state.db_schema();
|
let db_schema = state.db_schema();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue