Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
334de784ff |
@@ -430,13 +430,14 @@ instant. The numbers, configurable through `ApiClientOptions.retry`:
|
|||||||
|
|
||||||
With the defaults a file that is going to fail gives up after at most three and
|
With the defaults a file that is going to fail gives up after at most three and
|
||||||
a half seconds of waiting. `quak backup` usually runs from cron with nobody
|
a half seconds of waiting. `quak backup` usually runs from cron with nobody
|
||||||
watching, so every request it makes uses the second column instead, exported as
|
watching, so every request it makes uses the `quak backup` column instead,
|
||||||
`UNATTENDED_RETRY_OPTIONS`: a request that keeps failing gives up after at most
|
exported as `UNATTENDED_RETRY_OPTIONS`: a request that keeps failing gives up
|
||||||
243 seconds of waiting, and usually after about half that, since each wait is
|
after at most 243 seconds of waiting, and usually after about half that, since
|
||||||
drawn at random below its ceiling. Every other command uses the defaults. A
|
each wait is drawn at random below its ceiling. Every other command uses the
|
||||||
library user gets the same budget by passing `UNATTENDED_RETRY_OPTIONS` as
|
defaults. A library user gets the same budget by passing
|
||||||
`ApiClientOptions.retry`. `sleep` and `random` are injectable through the same
|
`UNATTENDED_RETRY_OPTIONS` as `ApiClientOptions.retry`. `sleep` and `random` are
|
||||||
option, which is how the test suite exercises the whole policy without waiting.
|
injectable through the same option, which is how the test suite exercises the
|
||||||
|
whole policy without waiting.
|
||||||
|
|
||||||
Two deadlines, renewed for each attempt:
|
Two deadlines, renewed for each attempt:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user