Ghost/core/server
Hannah Wolfe bbbd011074 Added job-manager & wired up shutdown and testmode
- Bottom line - we need to manage shutting down gracefully when doing long-running tasks
- To achieve that, we're going to use job queues

In this commit:
- added new @tryghost/job-manager dependency
- added a minimal job service, that handles in passing things like logging and (maybe later) config
- job service is wired up to server shutdown, so that the queue finishes before the server exits
- also added a new job endpoint to testmode so that it's easy to test job behaviour without needing to do real work
2020-08-11 21:31:34 +01:00
..
adapters Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
api Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
data Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
lib Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
models Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00
translations Added an additional log to notify shutdown start 2020-08-10 14:53:05 +01:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00
index.js Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00