Skip to content

Commit

Permalink
Realised I was wrong. Don't need this log, my bad
Browse files Browse the repository at this point in the history
  • Loading branch information
AgeManning committed Dec 11, 2023
1 parent be2d8f1 commit a8ae735
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1529,11 +1529,7 @@ impl Service {
Poll::Ready(QueryEvent::Waiting(query.id(), node_id, request_body))
}

QueryPoolState::Timeout(query) => {
let query_id = query.id().0;
debug!(%query_id, "Query timed out");
Poll::Ready(QueryEvent::TimedOut(Box::new(query)))
},
QueryPoolState::Timeout(query) => Poll::Ready(QueryEvent::TimedOut(Box::new(query))),
QueryPoolState::Waiting(None) | QueryPoolState::Idle => Poll::Pending,
})
.await
Expand Down

0 comments on commit a8ae735

Please sign in to comment.