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:
parent
5cdf910e63
commit
b668d6fc9c
1 changed files with 2 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue