From 8c83452dfe580f0a361fe9312d83bb30748ac62e Mon Sep 17 00:00:00 2001 From: eplazaso <44361656+eplazaso@users.noreply.github.com> Date: Thu, 15 Jun 2023 09:56:06 +0200 Subject: [PATCH] corrected docs with the real timeout (#118) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d72ae1..71494b8 100644 --- a/README.md +++ b/README.md @@ -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"); ```