fix: wait for sideload locales before server start (#1248)
This commit is contained in:
parent
c7631b30d7
commit
5282a82afe
@ -32,10 +32,10 @@ module.exports = {
|
|||||||
async preBootMaster() {
|
async preBootMaster() {
|
||||||
try {
|
try {
|
||||||
await this.initTelemetry()
|
await this.initTelemetry()
|
||||||
|
WIKI.sideloader = await require('./sideloader').init()
|
||||||
WIKI.cache = require('./cache').init()
|
WIKI.cache = require('./cache').init()
|
||||||
WIKI.scheduler = require('./scheduler').init()
|
WIKI.scheduler = require('./scheduler').init()
|
||||||
WIKI.servers = require('./servers')
|
WIKI.servers = require('./servers')
|
||||||
WIKI.sideloader = require('./sideloader').init()
|
|
||||||
WIKI.events = {
|
WIKI.events = {
|
||||||
inbound: new EventEmitter(),
|
inbound: new EventEmitter(),
|
||||||
outbound: new EventEmitter()
|
outbound: new EventEmitter()
|
||||||
|
Loading…
Reference in New Issue
Block a user