diff --git a/lib/tools/Prefinery.class.php b/lib/tools/Prefinery.class.php index f84a560a..466971b5 100644 --- a/lib/tools/Prefinery.class.php +++ b/lib/tools/Prefinery.class.php @@ -143,7 +143,7 @@ class Prefinery { $apiKey = Config::get('prefinery_key'); return static::decodePrefineryResponse( - Curl::post(static::DOMAIN . static::PREFIX . $endpoint . '.json?api_key=' . $apiKey, $data, static::$curlOptions), + Curl::post(static::DOMAIN . static::PREFIX . $endpoint . '.json?api_key=' . $apiKey, $data, array_merge(static::$curlOptions, ['retry' => 3])), $allowEmptyResponse ); }