fix: duplicate worker run

This commit is contained in:
karishmas6
2024-09-11 13:45:53 +05:30
parent e29a65bc01
commit cb6f3e2a29

View File

@@ -35,9 +35,4 @@ app.get('/', function (req, res) {
return res.send('Maxun server started 🚀');
});
/**
* Starts the worker for the workflow queue.
*/
worker.run();
server.listen(SERVER_PORT, () => logger.log('info', `Server listening on port ${SERVER_PORT}`));