From c32f6e6a40fa79744470b17b0aea18e66f8ff357 Mon Sep 17 00:00:00 2001 From: Thomas Massmann Date: Mon, 25 Oct 2021 07:18:47 -0400 Subject: [PATCH] feat: increase initial timeout to 60 seconds --- CHANGELOG.md | 1 + src/index.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b7058..c1fd3d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/index.js b/src/index.js index 6a10327..a2b6bb7 100644 --- a/src/index.js +++ b/src/index.js @@ -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.