graphql / express-graphql

Create a GraphQL HTTP server with Express.
MIT License
6.34k stars 538 forks source link

Processing timeout #798

Open Legolaszstudio opened 2 years ago

Legolaszstudio commented 2 years ago

Hello!

I was wondering what would be the proper way to handle timeouts with this module, eg.: My hosting provider's reverse proxy would timeout after 30 seconds, so if a graphql query would take longer than 25 seconds (for example due to a database connection problem) I would like to terminate all processing and send back an error message.

I looked all over the internet but couldn't find anything regarding this issue, so any help would be appreciated :)

enisdenjo commented 1 year ago

This library has been deprecated and this repo will be archived soon. It has been superseded by graphql-http.

Furthermore, if you seek a fully-featured, well-maintained and performant server - I heavily recommend GraphQL Yoga!