Ghost/core/shared/config
Hannah Wolfe 19e3b70c7a Added stoppable for graceful shutdown of requests
- stopppable is a dependency that handles closing connections properly, which server.close does not
    - active connections are allowed to complete what they are doing
    - idle connections are closed
    - no new connections are allowed
- we call stoppable in stop() instead of server.close so that idle connections don't hold the server open
- calling await stop() from shutdown then ensures that we have a consistent experience of stop
- all together this allows ghost to shutdown gracefully when there are long-running requests
- @TODO: handle graceful shutdown of long-running processes
- @TODO: consider do we need to send 503s whilst the server is shutting down?
2020-08-10 11:46:36 +01:00
..
env Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
defaults.json Added stoppable for graceful shutdown of requests 2020-08-10 11:46:36 +01:00
index.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
overrides.json Added responsive-image srcset attribute to image and gallery card output 2020-06-11 13:28:44 +01:00
utils.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00