express-graphql icon indicating copy to clipboard operation
express-graphql copied to clipboard

Processing timeout

Open Legolaszstudio opened this issue 4 years ago • 1 comments

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 :)

Legolaszstudio avatar Jan 23 '22 17:01 Legolaszstudio

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!

enisdenjo avatar Mar 20 '23 12:03 enisdenjo