refactor: start task dispatcher after server initialization
This commit is contained in:
@@ -1954,4 +1954,6 @@ server.listen(PORT, () => {
|
||||
if (INVENTORY_SERVER_URL) {
|
||||
console.log(`📦 Inventory server integration: ${INVENTORY_SERVER_URL}`);
|
||||
}
|
||||
// Start task dispatcher after server is ready
|
||||
taskDispatcher.start();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user