fix: duplicate worker run
This commit is contained in:
@@ -35,9 +35,4 @@ app.get('/', function (req, res) {
|
|||||||
return res.send('Maxun server started 🚀');
|
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}`));
|
server.listen(SERVER_PORT, () => logger.log('info', `Server listening on port ${SERVER_PORT}`));
|
||||||
|
|||||||
Reference in New Issue
Block a user