Skip to content

Commit 01684af

Browse files
committed
Update missing README comments
1 parent f2ad9d9 commit 01684af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,10 @@ catch (TooManyRequestsException $e) {
194194
// Get the number of seconds remaining (float)
195195
$secondsRemaining = $e->getSecondsRemaining();
196196

197-
//
197+
// Get the timestamp for when we can make our next request
198198
$timestamp = $e->getRetryTime();
199+
200+
// Sleep until the rate limiting has ended
199201
$e->wait();
200202
}
201203
```

0 commit comments

Comments
 (0)