Skip to content

Commit

Permalink
corrected docs with the real timeout (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
eplazaso authored Jun 15, 2023
1 parent 5856e51 commit 8c83452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ String externalSystem = "botStudio";
Optional params allow you to set a timeout for the function calls and to set a requestId.
The default value for the timeout is 15 seconds.
If you do not provide any requestId it will be autogenerated.
The maximum for the timeout should be 35 seconds as FaaS functions time out after 30 seconds.
The maximum for the timeout should be 40 seconds, it will be internally split up in 10 seconds of connection timeout (40*0.25) and 30 seconds of request timeout (40*0.75) as FaaS functions time out after 30 seconds.

```java
OptionalParams optionalParams = new OptionalParams();
optionalParams.setTimeOutInMs(35000)
optionalParams.setTimeOutInMs(40000)
optionalParams.setRequestId("requestId");
```

Expand Down

0 comments on commit 8c83452

Please sign in to comment.