From 280adb3e9430138dc5ff8c990f8b5a1448ef5d88 Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Fri, 27 Sep 2024 13:59:09 +0200 Subject: feat: configurable request timeout for carddav sync Big federated setups may need a longer timeout, which they now can configure. Signed-off-by: Pablo Zmdl Co-authored-by: Josh --- config/config.sample.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') diff --git a/config/config.sample.php b/config/config.sample.php index 21a77a8cbf6..709c1fb73c6 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -340,6 +340,13 @@ $CONFIG = [ */ 'davstorage.request_timeout' => 30, +/** + * The timeout in seconds for synchronizing address books, e.g. federated system address books (as run by `occ federation:sync-addressbooks`). + * + * Defaults to ``30`` seconds + */ +'carddav_sync_request_timeout' => 30, + /** * `true` enabled a relaxed session timeout, where the session timeout would no longer be * handled by Nextcloud but by either the PHP garbage collection or the expiration of -- cgit v1.2.3