Skip to content

Commit

Permalink
Retries
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpoulter committed Sep 9, 2024
1 parent 1edc54e commit 0adb2e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/VendConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ abstract class VendConnector extends Connector
*/
protected $defaultAuth = null;

public ?int $tries = 3;

public ?int $retryInterval = 500;

public ?bool $useExponentialBackoff = true;

public ?bool $throwOnMaxTries = false;

public function __construct(
?string $clientId = null,
?string $clientSecret = null,
Expand Down

0 comments on commit 0adb2e4

Please sign in to comment.