]> source.dussan.org Git - nextcloud-server.git/commitdiff
Increase timeout of the appstore requests 21380/head
authorJoas Schilling <coding@schilljs.com>
Fri, 12 Jun 2020 07:28:41 +0000 (09:28 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 12 Jun 2020 11:01:06 +0000 (13:01 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/App/AppStore/Fetcher/Fetcher.php
tests/lib/App/AppStore/Fetcher/FetcherBase.php

index bb39637891f2ca65681a8eb2a398ee0b67ca1f25..500a0568c9990c7da0e10504cb45bf76452bd1d8 100644 (file)
@@ -97,7 +97,7 @@ abstract class Fetcher {
                }
 
                $options = [
-                       'timeout' => 10,
+                       'timeout' => 60,
                ];
 
                if ($ETag !== '') {
index 2e04f22760e3588746aace5e5b88da383a67ba63..199bcd4b59b0d9ce54cc7cfeba145237a0690aa9 100644 (file)
@@ -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);