diff options
author | Dominik Fuchß <develop@fuchss.org> | 2023-05-15 23:35:12 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-06-14 20:27:38 +0000 |
commit | c64e9f6e93b75bf0c545922bb0ca2e1f43197af6 (patch) | |
tree | b0902b95277437f84326085b0cb9821cb01a4381 /config | |
parent | f83d31d6e8e8644b760468779fcaaa91c6863b13 (diff) | |
download | nextcloud-server-c64e9f6e93b75bf0c545922bb0ca2e1f43197af6.tar.gz nextcloud-server-c64e9f6e93b75bf0c545922bb0ca2e1f43197af6.zip |
Add config variable for curl timeout
Add the config variable for curl calls ("remote_curl_timeout"). E.g., needed for nextcloud federation.
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 7a6d2152662..98f30d3e258 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -290,6 +290,11 @@ $CONFIG = [ 'session_lifetime' => 60 * 60 * 24, /** + * The timeout for requests to remote servers (e.g., needed for federated shares). + */ +'remote_curl_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 * potential other session backends like redis. |