From ce22804656d60318732a7ca9c1c7b0e7edc51baf Mon Sep 17 00:00:00 2001 From: Gus Narea Date: Thu, 24 Aug 2023 15:43:32 +0200 Subject: [PATCH] fix: Set HTTP request processing timeout to 5s --- pohttp_client.tf | 2 +- pohttp_server.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pohttp_client.tf b/pohttp_client.tf index 6f1b1d8..e359a74 100644 --- a/pohttp_client.tf +++ b/pohttp_client.tf @@ -4,7 +4,7 @@ resource "google_cloud_run_v2_service" "pohttp_client" { ingress = "INGRESS_TRAFFIC_INTERNAL_ONLY" template { - timeout = "300s" + timeout = "5s" service_account = google_service_account.main.email diff --git a/pohttp_server.tf b/pohttp_server.tf index f2107ea..39021c4 100644 --- a/pohttp_server.tf +++ b/pohttp_server.tf @@ -4,7 +4,7 @@ resource "google_cloud_run_v2_service" "pohttp_server" { ingress = "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER" template { - timeout = "300s" + timeout = "5s" service_account = google_service_account.main.email