1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Sort out cURL timeouts and increase default

This commit is contained in:
sfan5
2021-04-02 00:19:39 +02:00
committed by GitHub
parent 3560691c0a
commit 34888a914e
8 changed files with 18 additions and 73 deletions

View File

@@ -8394,7 +8394,7 @@ Used by `HTTPApiTable.fetch` and `HTTPApiTable.fetch_async`.
url = "http://example.org",
timeout = 10,
-- Timeout for connection in seconds. Default is 3 seconds.
-- Timeout for request to be completed in seconds. Default depends on engine settings.
method = "GET", "POST", "PUT" or "DELETE"
-- The http method to use. Defaults to "GET".