-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
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
Error not being thrown when statement cancelled due to timeout #867
Comments
If you're not getting an error, it means that the underlying driver doesn't throw one. Whether it is a bug in the driver or something else, it is a little out of scope here. I suggest you check with the driver, and open a ticket there. |
This addition made it into the latest version. So if you are really using 11.2 (i'd check it), then it should work, somehow. Or maybe it is a separate feature, I'm not sure, you'll need to research. |
Interesting I'm definitely on 11.2, though I don't see the lock_timeout supported when constructing the pgpromise config Typescript says Is this just a typing thing and you expect it to still be passed down to the driver?
|
It was indeed an omission in TypeScript declaration, patched in v11.3.0. |
Great, thanks! |
Expected behavior
An error is thrown when a statement is cancelled due to a timeout
Actual behavior
No error is thrown
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: