Skip to content

Commit

Permalink
Merge pull request #127 from elopezanaya/update_timeout_getconfig
Browse files Browse the repository at this point in the history
Update timeout getconfig
  • Loading branch information
elopezanaya authored Oct 29, 2024
2 parents c416db6 + 7d2bea2 commit 957d627
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/SDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -1369,4 +1369,4 @@ export default class SDK implements ISDK {
headers[OmnichannelHTTPHeaders.ocSessionId] = sessionId;
}
}
}
}

0 comments on commit 957d627

Please sign in to comment.