mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
retry post requests too
This commit is contained in:
parent
1808cab75a
commit
8b23e029e9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue