chore: lint

This commit is contained in:
karishmas6
2024-09-11 13:21:16 +05:30
parent f97a2ef607
commit e29a65bc01

View File

@@ -7,7 +7,7 @@ import { record, workflow, storage } from './routes';
import { BrowserPool } from "./browser-management/classes/BrowserPool"; import { BrowserPool } from "./browser-management/classes/BrowserPool";
import logger from './logger' import logger from './logger'
import { SERVER_PORT } from "./constants/config"; import { SERVER_PORT } from "./constants/config";
import {Server} from "socket.io"; import { Server } from "socket.io";
import { worker } from './workflow-management/scheduler'; import { worker } from './workflow-management/scheduler';
const app = express(); const app = express();
@@ -37,7 +37,7 @@ app.get('/', function (req, res) {
/** /**
* Starts the worker for the workflow queue. * Starts the worker for the workflow queue.
*/ */
worker.run(); 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}`));