0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Added members service init to boot sequence

refs https://github.com/TryGhost/Team/issues/598

This method contains precondition checks for booting Ghost, and should
be called as early as possible.
This commit is contained in:
Fabien O'Carroll 2021-05-12 13:48:59 +01:00
parent 5cdf910e63
commit b668d6fc9c

View file

@ -146,6 +146,7 @@ async function initServices({config}) {
debug('End: Dynamic Routing');
debug('Begin: Services');
const members = require('./server/services/members');
const permissions = require('./server/services/permissions');
const xmlrpc = require('./server/services/xmlrpc');
const slack = require('./server/services/slack');
@ -162,6 +163,7 @@ async function initServices({config}) {
await limits.init();
await Promise.all([
members.init(),
permissions.init(),
xmlrpc.listen(),
slack.listen(),