From 265d98f18345904a272ab2ed0922d4d1701359f9 Mon Sep 17 00:00:00 2001 From: DanielCliftonGuardian <110032454+DanielCliftonGuardian@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:39:01 +0000 Subject: [PATCH] Update DotcomRenderingService.scala --- common/app/renderers/DotcomRenderingService.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/renderers/DotcomRenderingService.scala b/common/app/renderers/DotcomRenderingService.scala index b070597977e..ba45caae87f 100644 --- a/common/app/renderers/DotcomRenderingService.scala +++ b/common/app/renderers/DotcomRenderingService.scala @@ -96,7 +96,7 @@ class DotcomRenderingService extends GuLogging with ResultWithPreconnectPreload payload: String, endpoint: String, cacheTime: CacheTime, - timeout: Duration = Configuration.rendering.timeout * 5, + timeout: Duration = if (Configuration.environment.stage == "DEV") Configuration.rendering.timeout * 5 else Configuration.rendering.timeout, )(implicit request: RequestHeader): Future[Result] = { def handler(response: WSResponse): Result = { response.status match {