Merge pull request #21380 from nextcloud/bugfix/noid/longer-timeout-for-appstore
Increase timeout of the appstore requests
This commit is contained in:
commit
de75d8855a
|
@ -97,7 +97,7 @@ abstract class Fetcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
$options = [
|
$options = [
|
||||||
'timeout' => 10,
|
'timeout' => 60,
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($ETag !== '') {
|
if ($ETag !== '') {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue