Increase timeout of the appstore requests

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-06-12 09:28:41 +02:00 committed by Morris Jobke
parent 79b3923a42
commit 9d541ccfd1
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 8 additions and 8 deletions

View File

@ -97,7 +97,7 @@ abstract class Fetcher {
} }
$options = [ $options = [
'timeout' => 10, 'timeout' => 60,
'headers' => ['Accept-Encoding' => 'gzip'], 'headers' => ['Accept-Encoding' => 'gzip'],
]; ];

View File

@ -252,7 +252,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
] ]
@ -353,7 +353,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
] ]
@ -449,7 +449,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
] ]
@ -522,7 +522,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
] ]
@ -582,7 +582,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
'If-None-Match' => '"myETag"', 'If-None-Match' => '"myETag"',
@ -655,7 +655,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
'If-None-Match' => '"myETag"', 'If-None-Match' => '"myETag"',
@ -743,7 +743,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
'headers' => [ 'headers' => [
'Accept-Encoding' => 'gzip', 'Accept-Encoding' => 'gzip',
], ],