Ghost/core/shared
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
..
config Added stoppable for graceful shutdown of requests 2020-08-10 11:46:36 +01:00
express.js Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00
logging.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
sentry.js Fixed handling non-Ghost errors in Sentry 2020-06-01 19:01:51 +01:00
url-utils.js Added mobiledoc transform to populate missing image sizes on forced re-render (#11924) 2020-06-17 13:12:32 +01:00