diff --git a/common/app/renderers/DotcomRenderingService.scala b/common/app/renderers/DotcomRenderingService.scala index b070597977e5..ba45caae87f6 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 {