Merge pull request #21387 from nextcloud/backport/21380/stable19

[stable19] Increase timeout of the appstore requests
This commit is contained in:
Joas Schilling 2020-07-03 10:04:55 +02:00 committed by GitHub
commit d203f8f985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

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

View File

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