diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-09 08:24:37 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-09 08:24:37 +0200 |
commit | 2c76b9ba77563061df904e0ee3b470b5067eae28 (patch) | |
tree | c1f9067cb411a65de3b42c1172e460fbd048ee4f | |
parent | 50c5a750ee6cb8d02d71b6a12db5aff0f021c66c (diff) | |
parent | 482bfae123c3000d521c5f0693c6b27a6267845a (diff) | |
download | nextcloud-server-2c76b9ba77563061df904e0ee3b470b5067eae28.tar.gz nextcloud-server-2c76b9ba77563061df904e0ee3b470b5067eae28.zip |
Merge pull request #24457 from JetUni/patch-1
Set higher timeout limit
-rw-r--r-- | lib/private/OCSClient.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/OCSClient.php b/lib/private/OCSClient.php index a783a1f8425..da2f5c61769 100644 --- a/lib/private/OCSClient.php +++ b/lib/private/OCSClient.php @@ -128,7 +128,7 @@ class OCSClient { $response = $client->get( $this->getAppStoreUrl() . '/content/categories', [ - 'timeout' => 5, + 'timeout' => 20, 'query' => [ 'version' => implode('x', $targetVersion), ], @@ -179,7 +179,7 @@ class OCSClient { $response = $client->get( $this->getAppStoreUrl() . '/content/data', [ - 'timeout' => 5, + 'timeout' => 20, 'query' => [ 'version' => implode('x', $targetVersion), 'filter' => $filter, @@ -256,7 +256,7 @@ class OCSClient { $response = $client->get( $this->getAppStoreUrl() . '/content/data/' . urlencode($id), [ - 'timeout' => 5, + 'timeout' => 20, 'query' => [ 'version' => implode('x', $targetVersion), ], @@ -321,7 +321,7 @@ class OCSClient { $response = $client->get( $url, [ - 'timeout' => 5, + 'timeout' => 20, 'query' => [ 'version' => implode('x', $targetVersion), ], |