mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
Change 'defaultDataTimeout'
* Change 'defaultDataTimeout' from 240 to 60 seconds
This commit is contained in:
parent
ef4e990ef6
commit
4654314b56
|
@ -206,7 +206,7 @@ _**Description:**_ This setting controls the timeout duration, in seconds, for w
|
||||||
|
|
||||||
_**Value Type:**_ Integer
|
_**Value Type:**_ Integer
|
||||||
|
|
||||||
_**Default Value:**_ 240
|
_**Default Value:**_ 60
|
||||||
|
|
||||||
_**Config Example:**_ `data_timeout = "300"`
|
_**Config Example:**_ `data_timeout = "300"`
|
||||||
|
|
||||||
|
|
10
src/config.d
10
src/config.d
|
@ -61,17 +61,17 @@ class ApplicationConfig {
|
||||||
// HTTP Struct items, used for configuring HTTP()
|
// HTTP Struct items, used for configuring HTTP()
|
||||||
// Curl Timeout Handling
|
// Curl Timeout Handling
|
||||||
// libcurl dns_cache_timeout timeout
|
// libcurl dns_cache_timeout timeout
|
||||||
immutable int defaultDnsTimeout = 60;
|
immutable int defaultDnsTimeout = 60; // in seconds
|
||||||
// Connect timeout for HTTP|HTTPS connections
|
// Connect timeout for HTTP|HTTPS connections
|
||||||
// Controls CURLOPT_CONNECTTIMEOUT
|
// Controls CURLOPT_CONNECTTIMEOUT
|
||||||
immutable int defaultConnectTimeout = 10;
|
immutable int defaultConnectTimeout = 10; // in seconds
|
||||||
// Default data timeout for HTTP
|
// Default data timeout for HTTP operations
|
||||||
// curl.d has a default of: _defaultDataTimeout = dur!"minutes"(2);
|
// curl.d has a default of: _defaultDataTimeout = dur!"minutes"(2);
|
||||||
immutable int defaultDataTimeout = 240;
|
immutable int defaultDataTimeout = 60; // in seconds
|
||||||
// Maximum time any operation is allowed to take
|
// Maximum time any operation is allowed to take
|
||||||
// This includes dns resolution, connecting, data transfer, etc.
|
// This includes dns resolution, connecting, data transfer, etc.
|
||||||
// Controls CURLOPT_TIMEOUT
|
// Controls CURLOPT_TIMEOUT
|
||||||
immutable int defaultOperationTimeout = 3600;
|
immutable int defaultOperationTimeout = 3600; // in seconds
|
||||||
// Specify what IP protocol version should be used when communicating with OneDrive
|
// Specify what IP protocol version should be used when communicating with OneDrive
|
||||||
immutable int defaultIpProtocol = 0; // 0 = IPv4 + IPv6, 1 = IPv4 Only, 2 = IPv6 Only
|
immutable int defaultIpProtocol = 0; // 0 = IPv4 + IPv6, 1 = IPv4 Only, 2 = IPv6 Only
|
||||||
// Specify how many redirects should be allowed
|
// Specify how many redirects should be allowed
|
||||||
|
|
Loading…
Reference in a new issue