Skip to content

Commit d816e4a

Browse files
committed
perf: extend ingress timeout
Cloud Scheduler calls /cron/syncinflux hourly. If there are several days of results (because we deleted data and want to re-sync), then this can take several minutes to complete. Allow longer connections. Change-Id: I334b86b91e6e0ebe640a7a05afd04f1193c092f6 Reviewed-on: https://go-review.googlesource.com/c/build/+/623999 Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent cf37479 commit d816e4a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

perf/deployment-prod.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ metadata:
5757
namespace: prod
5858
name: perf-internal
5959
annotations:
60+
cloud.google.com/backend-config: '{"default": "build-ingress-perf-backend"}'
6061
cloud.google.com/neg: '{"ingress": false}'
6162
cloud.google.com/app-protocols: '{"https":"HTTP2"}'
6263
spec:
@@ -67,3 +68,11 @@ spec:
6768
selector:
6869
app: perf
6970
type: NodePort
71+
---
72+
apiVersion: cloud.google.com/v1
73+
kind: BackendConfig
74+
metadata:
75+
namespace: prod
76+
name: build-ingress-perf-backend
77+
spec:
78+
timeoutSec: 3600 # For long calls to /cron/syncinflux.

0 commit comments

Comments
 (0)