graphql-engine/server/src-exec
José Lorenzo Rodríguez c7a2320456 Implemented graceful shutdown for HTTP requests (close #2698) (#2717)
* Listens for SIGTERM as the termination signal
* Stops accepting new connections once the signal is received
* Waits for all connections to be drained, before shutting down
* Forcefully kills all pending connections after 30 seconds

Currently this does not send a close message to websocket clients, I'd
like to submit that change as a separate pull request, but at least this
solve my biggest concern which is not getting confirmation for mutations
while restarting the server.
2019-08-26 00:31:27 -05:00
..
Main.hs Implemented graceful shutdown for HTTP requests (close #2698) (#2717) 2019-08-26 00:31:27 -05:00
Migrate.hs schema sync process will not generate garbage data (close #2542) (#2585) 2019-07-31 14:31:48 +05:30
Ops.hs remove support for query templates (#2560) 2019-07-23 19:11:34 +00:00