diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php index 2f4e8b047d9b7..8415eed1ff04b 100644 --- a/lib/private/App/AppStore/Fetcher/Fetcher.php +++ b/lib/private/App/AppStore/Fetcher/Fetcher.php @@ -96,7 +96,7 @@ protected function fetch($ETag, $content) { } $options = [ - 'timeout' => 10, + 'timeout' => 60, 'headers' => ['Accept-Encoding' => 'gzip'], ]; diff --git a/tests/lib/App/AppStore/Fetcher/FetcherBase.php b/tests/lib/App/AppStore/Fetcher/FetcherBase.php index 36cfb9cf4ede0..f0a939e622fb7 100644 --- a/tests/lib/App/AppStore/Fetcher/FetcherBase.php +++ b/tests/lib/App/AppStore/Fetcher/FetcherBase.php @@ -252,7 +252,7 @@ public function testGetWithAlreadyExistingFileAndOutdatedTimestamp() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'Accept-Encoding' => 'gzip', ] @@ -353,7 +353,7 @@ public function testGetWithAlreadyExistingFileAndNoVersion() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'Accept-Encoding' => 'gzip', ] @@ -449,7 +449,7 @@ public function testGetWithAlreadyExistingFileAndOutdatedVersion() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'Accept-Encoding' => 'gzip', ] @@ -522,7 +522,7 @@ public function testGetWithExceptionInClient() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'Accept-Encoding' => 'gzip', ] @@ -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"', @@ -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"', @@ -743,7 +743,7 @@ public function testFetchAfterUpgradeNoETag() { ->with( $this->equalTo($this->endpoint), $this->equalTo([ - 'timeout' => 10, + 'timeout' => 60, 'headers' => [ 'Accept-Encoding' => 'gzip', ],