feat: add recording worker process

This commit is contained in:
Rohit
2025-03-10 16:01:38 +05:30
parent 360f863aab
commit cc12f19aa0

View File

@@ -22,7 +22,6 @@ import swaggerSpec from './swagger/config';
import session from 'express-session';
import Run from './models/Run';
import PgBoss from 'pg-boss';
const app = express();
app.use(cors({
@@ -54,10 +53,6 @@ export const io = new Server(server);
*/
export const browserPool = new BrowserPool();
const pgBossConnectionString = 'postgres://postgres:admin1234@localhost:5432/maxun';
export const pgBoss = new PgBoss({connectionString: pgBossConnectionString, schema: 'public'});
// app.use(bodyParser.json({ limit: '10mb' }))
// app.use(bodyParser.urlencoded({ extended: true, limit: '10mb', parameterLimit: 9000 }));
// parse cookies - "cookie" is true in csrfProtection