0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed workaround for intermittent ghost-server logging

- upon further testing, this started to not work again so I'm removing
  this horrible hack
- it could be Bunyan playing around with us, and the server is actually
  shutting down
This commit is contained in:
Daniel Lockyer 2020-08-13 18:45:51 +01:00
parent 385af269a5
commit 046b5540fe

View file

@ -169,9 +169,6 @@ class GhostServer {
this.httpServer = null; this.httpServer = null;
this._logStopMessages(); this._logStopMessages();
} }
// TODO: investigate why this is required (see commit)
return Promise.resolve();
} }
/** /**
@ -206,9 +203,6 @@ class GhostServer {
// Wait for all cleanup tasks to finish // Wait for all cleanup tasks to finish
await Promise await Promise
.all(this.cleanupTasks.map(task => task())); .all(this.cleanupTasks.map(task => task()));
// TODO: investigate why this is required (see commit)
return Promise.resolve();
} }
_onShutdownComplete() { _onShutdownComplete() {