diff options
author | Joas Schilling <coding@schilljs.com> | 2020-01-20 16:20:09 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-01-20 16:20:09 +0100 |
commit | c7e81c2c52332d61d99585e710ac06adfbcfc53e (patch) | |
tree | d88a5118170b293a37ba9f3777d06d4b76329c85 /lib/private/Installer.php | |
parent | 6a53029b1d1bc4e9759370c286374f797a8bcca6 (diff) | |
download | nextcloud-server-c7e81c2c52332d61d99585e710ac06adfbcfc53e.tar.gz nextcloud-server-c7e81c2c52332d61d99585e710ac06adfbcfc53e.zip |
Increase the timeout for app downloads
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Installer.php')
-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']); |