Skip to content

Commit

Permalink
Update DotcomRenderingService.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCliftonGuardian committed Dec 10, 2024
1 parent 8cd3205 commit 265d98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/app/renderers/DotcomRenderingService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 265d98f

Please sign in to comment.