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 = [
'timeout' => 10,
'timeout' => 60,
];
if ($ETag !== '') {

View File

@ -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);