diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php index bb39637891f2c..500a0568c9990 100644 --- a/lib/private/App/AppStore/Fetcher/Fetcher.php +++ b/lib/private/App/AppStore/Fetcher/Fetcher.php @@ -97,7 +97,7 @@ protected function fetch($ETag, $content) { } $options = [ - 'timeout' => 10, + 'timeout' => 60, ]; if ($ETag !== '') { diff --git a/tests/lib/App/AppStore/Fetcher/FetcherBase.php b/tests/lib/App/AppStore/Fetcher/FetcherBase.php index 2e04f22760e35..199bcd4b59b0d 100644 --- a/tests/lib/App/AppStore/Fetcher/FetcherBase.php +++ b/tests/lib/App/AppStore/Fetcher/FetcherBase.php @@ -550,7 +550,7 @@ public function testGetMatchingETag() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'If-None-Match' => '"myETag"' ] @@ -622,7 +622,7 @@ public function testGetNoMatchingETag() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'If-None-Match' => '"myETag"', ] @@ -709,7 +709,7 @@ public function testFetchAfterUpgradeNoETag() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, ]) ) ->willReturn($response);