Skip to content

Commit 1758371

Browse files
authored
Merge pull request #17 from alexjeen/patch-1
fix bug with longer waits
2 parents 7204cdd + 973e82e commit 1758371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backoff.php

+1-1
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)