diff --git a/CHANGELOG.md b/CHANGELOG.md index ed0f2d2..8213580 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Changed +- Increase of timeout limit time for GetChatConfig, from 30 secs to 120 secs. ## [0.5.7] - 2024-10-25 diff --git a/src/SDK.ts b/src/SDK.ts index 7aa52b6..5a4c6cf 100644 --- a/src/SDK.ts +++ b/src/SDK.ts @@ -50,7 +50,7 @@ import { waitTimeBetweenRetriesConfigs } from "./Utils/waitTimeBetweenRetriesCon export default class SDK implements ISDK { private static defaultRequestTimeoutConfig: RequestTimeoutConfig = { - getChatConfig: 30000, + getChatConfig: 120000, getLWIDetails: 15000, getChatToken: 15000, sessionInit: 15000, @@ -1369,4 +1369,4 @@ export default class SDK implements ISDK { headers[OmnichannelHTTPHeaders.ocSessionId] = sessionId; } } -} \ No newline at end of file +}