Skip to content

Commit

Permalink
Update timeout in sample
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Dec 5, 2022
1 parent db37c90 commit 0be1760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tester/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ func main() {
}

config := &types.ControllerConfig{
RebuildInterval: time.Second * 10,
RebuildInterval: time.Second * 30,
GatewayURL: gateway,
PrintResponse: true,
PrintRequestBody: true,
PrintResponseBody: true,
AsyncFunctionInvocation: false,
ContentType: "text/plain",
UserAgent: "openfaasltd/timer-connector",
UpstreamTimeout: time.Second * 60,
UpstreamTimeout: time.Second * 120,
}

controller := types.NewController(creds, config)
Expand Down

0 comments on commit 0be1760

Please sign in to comment.