Skip to content

Commit

Permalink
Merge pull request #342 from boryn/patch-1
Browse files Browse the repository at this point in the history
Fix exponential backoff attribute
  • Loading branch information
Sammyjo20 authored Dec 4, 2023
2 parents 35b5940 + 048b142 commit d6f38f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/RequestProperties/HasTries.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait HasTries
*
* When true, Saloon will double the retry interval after each attempt.
*/
public bool $useExponentialBackoff = false;
public ?bool $useExponentialBackoff = null;

/**
* Should Saloon throw an exception after exhausting the maximum number of retries?
Expand Down

0 comments on commit d6f38f3

Please sign in to comment.