Increase the timeout for app downloads
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
df4a7b3b28
commit
2450706582
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue