Merge pull request #21380 from nextcloud/bugfix/noid/longer-timeout-for-appstore

Increase timeout of the appstore requests
This commit is contained in:
Joas Schilling 2020-06-12 23:07:14 +02:00 committed by GitHub
commit de75d8855a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ abstract class Fetcher {
} }
$options = [ $options = [
'timeout' => 10, 'timeout' => 60,
]; ];
if ($ETag !== '') { if ($ETag !== '') {

View File

@ -550,7 +550,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' => [
'If-None-Match' => '"myETag"' 'If-None-Match' => '"myETag"'
] ]
@ -622,7 +622,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' => [
'If-None-Match' => '"myETag"', 'If-None-Match' => '"myETag"',
] ]
@ -709,7 +709,7 @@ abstract class FetcherBase extends TestCase {
->with( ->with(
$this->equalTo($this->endpoint), $this->equalTo($this->endpoint),
$this->equalTo([ $this->equalTo([
'timeout' => 10, 'timeout' => 60,
]) ])
) )
->willReturn($response); ->willReturn($response);