From 482bfae123c3000d521c5f0693c6b27a6267845a Mon Sep 17 00:00:00 2001 From: Jarrett Date: Thu, 5 May 2016 14:20:46 -0600 Subject: [PATCH] Set higher timeout limit Set the timeout limit to be 20 instead of 5 for machines that take longer to load the apps from apps.owncloud.org so that it doesn't show up blank. --- lib/private/OCSClient.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/private/OCSClient.php b/lib/private/OCSClient.php index a783a1f842..da2f5c6176 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), ],