diff --git a/api.planx.uk/modules/flows/validate/controller.ts b/api.planx.uk/modules/flows/validate/controller.ts index 57c90d3849..92272eb053 100644 --- a/api.planx.uk/modules/flows/validate/controller.ts +++ b/api.planx.uk/modules/flows/validate/controller.ts @@ -22,7 +22,9 @@ export type ValidateAndDiffFlowController = ValidatedRequestHandler< >; export const validateAndDiffFlowController: ValidateAndDiffFlowController = - async (_req, res, next) => { + async (req, res, next) => { + req.setTimeout(120 * 1000); // Temporary bump to address large diff timeouts + try { const { flowId } = res.locals.parsedReq.params; const result = await validateAndDiffFlow(flowId);