Skip to content
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

Queries for timed out requests are not cancelled #387

Open
autrilla opened this issue Mar 15, 2019 · 0 comments
Open

Queries for timed out requests are not cancelled #387

autrilla opened this issue Mar 15, 2019 · 0 comments

Comments

@autrilla
Copy link
Contributor

With just the API enabled (the scanner is not running), I see that queries that belong to HTTP requests that have timed out are still executing on the server. Based on lib/pq#535, we could pass the HTTP context to the database and get query cancellation for free when the HTTP request is cancelled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant