Skip to content

Commit 973e82e

Browse files
authored
fix bug with longer waits
1 parent 7204cdd commit 973e82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backoff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public function wait($attempt)
307307
return;
308308
}
309309

310-
usleep($this->getWaitTime($attempt) * 1000);
310+
usleep(intval($this->getWaitTime($attempt) * 1000));
311311
}
312312

313313
/**

0 commit comments

Comments
 (0)