Skip to content

Commit

Permalink
Merge pull request #17 from alexjeen/patch-1
Browse files Browse the repository at this point in the history
fix bug with longer waits
  • Loading branch information
jszobody authored Mar 29, 2024
2 parents 7204cdd + 973e82e commit 1758371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backoff.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function wait($attempt)
return;
}

usleep($this->getWaitTime($attempt) * 1000);
usleep(intval($this->getWaitTime($attempt) * 1000));
}

/**
Expand Down

0 comments on commit 1758371

Please sign in to comment.