Commit 10d0cf8
committed
Sleep 1 second by default in case of 429 response
There were cases, when client subsequently recieved 429 responses with
retry-after=0, eg.
* retries: 0, sleep: 1
* retries: 1, sleep: 0
* retries: 2, sleep: 0
On the next try you'll get error:
> Your request count (44) is over the allowed limit of 40.1 parent 3c4498b commit 10d0cf8
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
0 commit comments