Skip to content

Commit

Permalink
feat: increase initial timeout to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmassmann committed Oct 25, 2021
1 parent 6ca86ad commit c32f6e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.2.0 (unreleased)

- Bugfix: Include initial items when fetching collection.
- Increase initial timeout to 60 seconds.

## 1.1.0 (2021-10-19)

Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ class PloneClient {
Accept: 'application/json',
'Content-Type': 'application/json',
},
timeout: 20000,
// 1 minute timeout might be necessary with Plone.
timeout: 60000,
// The adapters will always be available.
// You can configure if the caching adapter is enabled by default
// using the `enableCaching` option.
Expand Down

0 comments on commit c32f6e6

Please sign in to comment.