diff --git a/src/controllers/hivemind.controller.ts b/src/controllers/hivemind.controller.ts index 52a3ace..5b3c75a 100644 --- a/src/controllers/hivemind.controller.ts +++ b/src/controllers/hivemind.controller.ts @@ -7,6 +7,7 @@ import { catchAsync } from '../utils'; const askQuestion = catchAsync(async function (req: IAuthRequest, res: Response) { console.debug('Body', req.body.communityId, req.body.question); + req.setTimeout(5 * 60 * 1000); const awnser = await HivemindTemporalService.triggerWorkflow(req.body.communityId, req.body.question, false); res.status(httpStatus.OK).send({ awnser }); });