mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
retry mailgun api calls
This commit is contained in:
parent
98d9431a7b
commit
928aea58aa
1 changed files with 2 additions and 1 deletions
3
lib/thirdparty/Mailgun.class.php
vendored
3
lib/thirdparty/Mailgun.class.php
vendored
|
@ -78,7 +78,8 @@ class Mailgun
|
||||||
return Curl::doCurl(Curl::POST, self::BASE_URL . $endpoint, $data, [
|
return Curl::doCurl(Curl::POST, self::BASE_URL . $endpoint, $data, [
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'Authorization: Basic ' . base64_encode('api:' . Config::get('mailgun_api_key'))
|
'Authorization: Basic ' . base64_encode('api:' . Config::get('mailgun_api_key'))
|
||||||
]
|
],
|
||||||
|
'retry' => 3,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue