From 0be17607d89b2e64fc322769e0bed533e00aad92 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Mon, 5 Dec 2022 16:07:25 +0000 Subject: [PATCH] Update timeout in sample Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- cmd/tester/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tester/main.go b/cmd/tester/main.go index 078c487..b0341aa 100644 --- a/cmd/tester/main.go +++ b/cmd/tester/main.go @@ -43,7 +43,7 @@ func main() { } config := &types.ControllerConfig{ - RebuildInterval: time.Second * 10, + RebuildInterval: time.Second * 30, GatewayURL: gateway, PrintResponse: true, PrintRequestBody: true, @@ -51,7 +51,7 @@ func main() { AsyncFunctionInvocation: false, ContentType: "text/plain", UserAgent: "openfaasltd/timer-connector", - UpstreamTimeout: time.Second * 60, + UpstreamTimeout: time.Second * 120, } controller := types.NewController(creds, config)