This commit is contained in:
denisdulici 2018-09-06 10:48:26 +03:00
parent 363865c675
commit 87ff31b020
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ class Updater
$url = 'apps/' . $alias . '/download/' . $version . '/' . $info['akaunting'] . '/' . $info['token'];
}
$response = static::getRemote($url, ['timeout' => 30, 'track_redirects' => true]);
$response = static::getRemote($url, ['timeout' => 50, 'track_redirects' => true]);
// Exception
if ($response instanceof RequestException) {

View File

@ -91,7 +91,7 @@ class Versions
{
$latest = '0.0.0';
$response = static::getRemote($url, ['timeout' => 1, 'referer' => true]);
$response = static::getRemote($url, ['timeout' => 10, 'referer' => true]);
// Exception
if ($response instanceof RequestException) {