fix: wait for sideload locales before server start (#1248)

pull/2143/head
NGPixel 5 years ago
parent c7631b30d7
commit 5282a82afe

@ -32,10 +32,10 @@ module.exports = {
async preBootMaster() {
try {
await this.initTelemetry()
WIKI.sideloader = await require('./sideloader').init()
WIKI.cache = require('./cache').init()
WIKI.scheduler = require('./scheduler').init()
WIKI.servers = require('./servers')
WIKI.sideloader = require('./sideloader').init()
WIKI.events = {
inbound: new EventEmitter(),
outbound: new EventEmitter()

Loading…
Cancel
Save