diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-02-22 11:18:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 11:18:50 +0300 |
commit | 76a77c54de0325c3e478eaa14315605b57cdf4a9 (patch) | |
tree | fc6745de6d747a17044ad3a5e7600ba6e5dccf5c /src/gui | |
parent | 69f963781599b860112b3ae4c5ba21a84314ff13 (diff) |
Our timeout was 5min (#9461)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 68de65fbe..6696fcb1b 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -275,7 +275,7 @@ Application::Application(int &argc, char **argv) ConfigFile cfg; // The timeout is initialized with an environment variable, if not, override with the value from the config - if (AbstractNetworkJob::httpTimeout == std::chrono::milliseconds(static_cast<int>(QNetworkRequest::DefaultTransferTimeoutConstant))) { + if (AbstractNetworkJob::httpTimeout == AbstractNetworkJob::DefaultHttpTimeout) { AbstractNetworkJob::httpTimeout = cfg.timeout(); } |