Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-20 23:40:42 +0300
committerGitHub <noreply@github.com>2020-01-20 23:40:42 +0300
commitd9a7e16a3bbaef78e23ea8330319b2f8adbb4ac2 (patch)
treea950a0db12a42b8ef0aac6ad5e8c5d0b3535cda7 /lib
parent70dc31cdff6d23a63040f0aaf85c34e0270f07a9 (diff)
parentc7e81c2c52332d61d99585e710ac06adfbcfc53e (diff)
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.php2
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']);