Skip to content

Commit

Permalink
fix bug with longer waits
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeen authored Mar 29, 2024
1 parent 7204cdd commit 973e82e
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 973e82e

Please sign in to comment.