diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-01-20 21:40:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 21:40:42 +0100 |
commit | d9a7e16a3bbaef78e23ea8330319b2f8adbb4ac2 (patch) | |
tree | a950a0db12a42b8ef0aac6ad5e8c5d0b3535cda7 /lib | |
parent | 70dc31cdff6d23a63040f0aaf85c34e0270f07a9 (diff) | |
parent | c7e81c2c52332d61d99585e710ac06adfbcfc53e (diff) | |
download | nextcloud-server-d9a7e16a3bbaef78e23ea8330319b2f8adbb4ac2.tar.gz nextcloud-server-d9a7e16a3bbaef78e23ea8330319b2f8adbb4ac2.zip |
Merge pull request #19017 from nextcloud/bugfix/noid/increase-timeout-for-downloads
Increase the timeout for app downloads
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index d583dd20761..790bec0ddd5 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -271,7 +271,7 @@ class Installer { // Download the release $tempFile = $this->tempManager->getTemporaryFile('.tar.gz'); $client = $this->clientService->newClient(); - $client->get($app['releases'][0]['download'], ['save_to' => $tempFile]); + $client->get($app['releases'][0]['download'], ['save_to' => $tempFile, 'timeout' => 120]); // Check if the signature actually matches the downloaded content $certificate = openssl_get_publickey($app['certificate']); |