Merge pull request #532 from getmaxun/timeout-fix
fix: notifies run finished prematurely
This commit is contained in:
@@ -234,7 +234,7 @@ router.get('/interpret', requireSignIn, async (req: AuthenticatedRequest, res) =
|
|||||||
logger.log('info', `Queued interpret workflow job: ${jobId}, waiting for completion...`);
|
logger.log('info', `Queued interpret workflow job: ${jobId}, waiting for completion...`);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const result = await waitForJobCompletion(jobId, 'interpret-workflow', 15000);
|
const result = await waitForJobCompletion(jobId, 'interpret-workflow', 1000000);
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
return res.send('interpretation done');
|
return res.send('interpretation done');
|
||||||
|
|||||||
Reference in New Issue
Block a user