chore: bg-task optimization

This commit is contained in:
soulteary
2022-01-04 14:18:54 +08:00
parent 6d8ce5361a
commit 0044d265d1
2 changed files with 28 additions and 22 deletions

View File

@@ -23,6 +23,7 @@ const logger = new Logger();
await initApp();
await connectDB();
await associateModels();
await jobs();
// Create server for Express API and WebSockets
const server = http.createServer();