Merge pull request #532 from getmaxun/timeout-fix

fix: notifies run finished prematurely
This commit is contained in:
Karishma Shukla
2025-04-22 00:55:33 +05:30
committed by GitHub

View File

@@ -234,7 +234,7 @@ router.get('/interpret', requireSignIn, async (req: AuthenticatedRequest, res) =
logger.log('info', `Queued interpret workflow job: ${jobId}, waiting for completion...`);
try {
const result = await waitForJobCompletion(jobId, 'interpret-workflow', 15000);
const result = await waitForJobCompletion(jobId, 'interpret-workflow', 1000000);
if (result) {
return res.send('interpretation done');