Skip to content

Commit

Permalink
fix: Set HTTP request processing timeout to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Aug 24, 2023
1 parent 1a22e14 commit ce22804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pohttp_client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pohttp_server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ce22804

Please sign in to comment.