fix: format

This commit is contained in:
amhsirak
2025-03-23 13:55:01 +05:30
parent 4b38bcfd0f
commit 1562fd099d

View File

@@ -52,7 +52,7 @@ app.use(
secret: 'mx-session',
resave: false, // Do not resave the session if it hasn't changed
saveUninitialized: true, // Save new sessions
cookie: {
cookie: {
secure: false, // Set to true if using HTTPS
maxAge: 24 * 60 * 60 * 1000, // 1-day session expiration
},
@@ -178,7 +178,7 @@ process.on('SIGINT', async () => {
} catch (error: any) {
console.error('Error updating runs:', error);
}
if (!isProduction) {
if (workerProcess) workerProcess.kill();
if (recordingWorkerProcess) recordingWorkerProcess.kill();