Browse Source
Increase timeout of the appstore requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/21380/head
Joas Schilling
5 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
2 changed files with
4 additions and
4 deletions
-
lib/private/App/AppStore/Fetcher/Fetcher.php
-
tests/lib/App/AppStore/Fetcher/FetcherBase.php
|
|
|
@ -97,7 +97,7 @@ abstract class Fetcher { |
|
|
|
} |
|
|
|
|
|
|
|
$options = [ |
|
|
|
'timeout' => 10, |
|
|
|
'timeout' => 60, |
|
|
|
]; |
|
|
|
|
|
|
|
if ($ETag !== '') { |
|
|
|
|
|
|
|
@ -550,7 +550,7 @@ abstract class FetcherBase extends TestCase { |
|
|
|
->with( |
|
|
|
$this->equalTo($this->endpoint), |
|
|
|
$this->equalTo([ |
|
|
|
'timeout' => 10, |
|
|
|
'timeout' => 60, |
|
|
|
'headers' => [ |
|
|
|
'If-None-Match' => '"myETag"' |
|
|
|
] |
|
|
|
@ -622,7 +622,7 @@ abstract class FetcherBase extends TestCase { |
|
|
|
->with( |
|
|
|
$this->equalTo($this->endpoint), |
|
|
|
$this->equalTo([ |
|
|
|
'timeout' => 10, |
|
|
|
'timeout' => 60, |
|
|
|
'headers' => [ |
|
|
|
'If-None-Match' => '"myETag"', |
|
|
|
] |
|
|
|
@ -709,7 +709,7 @@ abstract class FetcherBase extends TestCase { |
|
|
|
->with( |
|
|
|
$this->equalTo($this->endpoint), |
|
|
|
$this->equalTo([ |
|
|
|
'timeout' => 10, |
|
|
|
'timeout' => 60, |
|
|
|
]) |
|
|
|
) |
|
|
|
->willReturn($response); |
|
|
|
|