diff options
Diffstat (limited to 'desktop/options.h')
-rw-r--r-- | desktop/options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/options.h b/desktop/options.h index f01261ee1..e734c5294 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -208,6 +208,14 @@ NSOPTION_INTEGER(max_fetchers_per_host, 5) */ NSOPTION_INTEGER(max_cached_fetch_handles, 6) +/** Number of times to retry timed-out fetches before giving up. */ +NSOPTION_UINT(max_retried_fetches, 3) + +/** Number of seconds to allow for a DNS-resolution+connect() before timing out + * the cURL socket. + */ +NSOPTION_UINT(curl_fetch_timeout, 10) + /** Suppress debug output from cURL. */ NSOPTION_BOOL(suppress_curl_debug, true) |