修复schedule服务

This commit is contained in:
whyour 2021-11-13 12:34:49 +08:00
parent 6a81ba9069
commit c1269d9dde

View File

@ -44,8 +44,11 @@ const run = async () => {
}; };
app app
.listen(config.cronPort, () => { .listen(config.cronPort, async () => {
run(); await require('./loaders/sentry').default({ expressApp: app });
await require('./loaders/db').default();
await run();
Logger.info(` Logger.info(`
################################################ ################################################
🛡 Schedule listening on port: ${config.cronPort} 🛡 🛡 Schedule listening on port: ${config.cronPort} 🛡