aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-04-02 00:19:39 +0200
committerGitHub <noreply@github.com>2021-04-02 00:19:39 +0200
commit34888a914e1eccce8082f45089aec17d5a2815c2 (patch)
tree31a855edf48c2cdab4da0b3e113b6a33574dfa55 /builtin
parent3560691c0aecd89dc7f7d91ed8c4f1eaa9715eaf (diff)
downloadhax-minetest-server-34888a914e1eccce8082f45089aec17d5a2815c2.tar.gz
hax-minetest-server-34888a914e1eccce8082f45089aec17d5a2815c2.zip
Sort out cURL timeouts and increase default
Diffstat (limited to '')
-rw-r--r--builtin/settingtypes.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 67f4877a3..f7412c1ee 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1413,9 +1413,8 @@ enable_ipv6 (IPv6) bool true
[*Advanced]
-# Default timeout for cURL, stated in milliseconds.
-# Only has an effect if compiled with cURL.
-curl_timeout (cURL timeout) int 5000
+# Maximum time an interactive request (e.g. server list fetch) may take, stated in milliseconds.
+curl_timeout (cURL interactive timeout) int 20000
# Limits number of parallel HTTP requests. Affects:
# - Media fetch if server uses remote_media setting.
@@ -1424,7 +1423,7 @@ curl_timeout (cURL timeout) int 5000
# Only has an effect if compiled with cURL.
curl_parallel_limit (cURL parallel limit) int 8
-# Maximum time in ms a file download (e.g. a mod download) may take.
+# Maximum time a file download (e.g. a mod download) may take, stated in milliseconds.
curl_file_download_timeout (cURL file download timeout) int 300000
# Makes DirectX work with LuaJIT. Disable if it causes troubles.