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 = [
|
||||
'timeout' => 10,
|
||||
'timeout' => 60,
|
||||
];
|
||||
|
||||
if ($ETag !== '') {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue