Ghost/core
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
..
client@4915f6aee2 Updated Ghost-Admin to v3.28.0 2020-08-04 11:23:40 +01:00
frontend 🐛 Fixed incorrect member gating on custom static page routes 2020-08-03 17:28:55 +05:30
server Added stoppable for graceful shutdown of requests 2020-08-10 11:46:36 +01:00
shared Added stoppable for graceful shutdown of requests 2020-08-10 11:46:36 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00