Closed trasch closed 1 year ago
Thanks for the issue. Do you want to try to tackle this problem?
Do you want to try to tackle this problem?
A stepped through the stack and had a 🤯moment. So I think that someone with more knowledge of the library would be faster. But yes, I can try if someone could maybe give me a hint about what and where the problem might be... 😃
Describe the bug
I want to prevent rogue queries from hogging up my database connections and therefore use
SET statement_timeout=10000;
to let the server kill long running queries.This leads to a crash in
ConnectionStateMachine.swift#845
with the messageTried to cancel stream without active query
whenever PostgreSQL kills a query.This is the stacktrace:
and the state machine object: