graphql-engine/server
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
..
packaging Implemented graceful shutdown for HTTP requests (close #2698) (#2717) 2019-08-26 00:31:27 -05:00
src-exec Implemented graceful shutdown for HTTP requests (close #2698) (#2717) 2019-08-26 00:31:27 -05:00
src-lib allow configuring timeout for remote schema calls (close #2501) (#2753) 2019-08-23 14:27:19 +05:30
src-rsr schema sync process will not generate garbage data (close #2542) (#2585) 2019-07-31 14:31:48 +05:30
tests-py allow configuring timeout for remote schema calls (close #2501) (#2753) 2019-08-23 14:27:19 +05:30
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore breaking: server logging changes (close #507, close #2171) (#1835) 2019-07-11 05:37:06 +00:00
.stylish-haskell.yaml refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30
CONTRIBUTING.md Add local development swiss army knife script scripts/dev.sh 2019-07-26 01:17:35 -04:00
graphql-engine.cabal Implemented graceful shutdown for HTTP requests (close #2698) (#2717) 2019-08-26 00:31:27 -05:00
Makefile Merge branch 'master' into dev-scripts-and-doc-tweaks 2019-08-07 12:08:46 +05:30
Setup.hs move raven into graphql-engine repo 2018-06-28 00:32:00 +05:30
stack-nightly.yaml Add rebuild-ghc-options to stack.yamls 2019-07-31 10:22:50 -04:00
stack.yaml Add rebuild-ghc-options to stack.yamls 2019-07-31 10:22:50 -04:00
stack.yaml.lock schema sync process will not generate garbage data (close #2542) (#2585) 2019-07-31 14:31:48 +05:30