diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php index c109bacf1358b..d8f6a8dd4c456 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, 'headers' => ['Accept-Encoding' => 'gzip'], ]; diff --git a/tests/lib/App/AppStore/Fetcher/FetcherBase.php b/tests/lib/App/AppStore/Fetcher/FetcherBase.php index 45f3f22b9d425..ba1062127fbcd 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', ],