Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Long running queries run long after the graphql request has timed out #25

Open
proehlen opened this issue Mar 10, 2018 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@proehlen
Copy link
Member

More of an issue while data is missing from the db but still an issue:

If the user makes some request that results in a very long running postgresql query, the request will timeout with an error but postgres will keep trucking for minutes or hours trying to answer the query. This is a potential DDoS vector as well as being inefficient.

Need to set postgres timeout option after the migrations have run per brianc/node-postgres#518.

@proehlen proehlen added enhancement New feature or request good first issue Good for newcomers labels Mar 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant