Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/private/App/AppStore/Fetcher/Fetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected function fetch($ETag, $content) {
}

$options = [
'timeout' => 10,
'timeout' => 60,
'headers' => ['Accept-Encoding' => 'gzip'],
];

Expand Down
14 changes: 7 additions & 7 deletions tests/lib/App/AppStore/Fetcher/FetcherBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function testGetWithAlreadyExistingFileAndOutdatedTimestamp() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
]
Expand Down Expand Up @@ -353,7 +353,7 @@ public function testGetWithAlreadyExistingFileAndNoVersion() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
]
Expand Down Expand Up @@ -449,7 +449,7 @@ public function testGetWithAlreadyExistingFileAndOutdatedVersion() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
]
Expand Down Expand Up @@ -522,7 +522,7 @@ public function testGetWithExceptionInClient() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
]
Expand Down Expand Up @@ -582,7 +582,7 @@ public function testGetMatchingETag() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
'If-None-Match' => '"myETag"',
Expand Down Expand Up @@ -655,7 +655,7 @@ public function testGetNoMatchingETag() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
'If-None-Match' => '"myETag"',
Expand Down Expand Up @@ -743,7 +743,7 @@ public function testFetchAfterUpgradeNoETag() {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
'timeout' => 10,
'timeout' => 60,
'headers' => [
'Accept-Encoding' => 'gzip',
],
Expand Down