diff --git a/apps/files_external/lib/Lib/Storage/Google.php b/apps/files_external/lib/Lib/Storage/Google.php index 0b617aafe9d1..b3cc8c4c3a0f 100644 --- a/apps/files_external/lib/Lib/Storage/Google.php +++ b/apps/files_external/lib/Lib/Storage/Google.php @@ -75,6 +75,7 @@ public function __construct($params) { if (!function_exists('curl_version') || !function_exists('curl_exec')) { $this->client->setClassConfig("Google_Http_Request", "disable_gzip", true); } + $this->client->setClassConfig('Google_Task_Runner', 'retries', 5); // note: API connection is lazy $this->service = new \Google_Service_Drive($this->client); $token = json_decode($params['token'], true);