feat: pass retries

This commit is contained in:
karishmas6
2024-09-19 18:15:42 +05:30
parent 871a9b88bd
commit adb5084e74

View File

@@ -1,6 +1,6 @@
/** /**
* RESTful API endpoints handling the recording storage. * RESTful API endpoints handling the recording storage.
*/ */
import { Router } from 'express'; import { Router } from 'express';
import logger from "../logger"; import logger from "../logger";
@@ -190,6 +190,7 @@ router.post('/runs/run/:fileName/:runId', async (req, res) => {
name: parsedRun.name, name: parsedRun.name,
runId: req.params.runId, runId: req.params.runId,
status: 'pending', status: 'pending',
retries: 5,
}; };
return; return;