diff options
author | Dominik Fuchß <develop@fuchss.org> | 2023-05-15 23:35:12 +0200 |
---|---|---|
committer | Daniel <mail@danielkesselberg.de> | 2023-06-13 10:31:33 +0200 |
commit | c3ba871f3633297046341b7760add409063f2512 (patch) | |
tree | cb62b8fec280173d04f700ab5ca0e717747d2e09 /config | |
parent | 39b716cc78385be1552306890d588540435267dd (diff) | |
download | nextcloud-server-c3ba871f3633297046341b7760add409063f2512.tar.gz nextcloud-server-c3ba871f3633297046341b7760add409063f2512.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 94b8a5d0552..4330b0cda60 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. |