Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Commit 04ee320

Browse files
More details on API backoff and configuration. Relates #29
1 parent 860de4a commit 04ee320

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/using.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,16 @@ When the developer pushes a new changeset, the `Needs Work` flag is automaticall
2525
|![Queue clear](/assets/checkmark.png)|All of your Pull Requests have been actioned|_PR Queue clear!_|
2626
|![Rate limited](/assets/rate.png)|You exceeded the API rate limit; automatic request backoff is in effect.|_Rate Limited!_|
2727

28-
Are you often Rate limited? Increase the polling interval in seconds with the commandline flag `-poll=xx`. The default is 15 seconds.
28+
## Rate Limiting
29+
30+
Automatic exponential request backoff with randomized jitter was [introduced](https://github.com/michaelsanford/bittray/issues/29) in v1.1.2 _Space Piano_.
31+
32+
If the poller thread receives a `429 Too Many Requests`, the icon will change and the poller will backoff with increasing sleep intervals
33+
until a successful request resets it. There is no maximum to the timeout.
34+
35+
If you are often rate limited, increase the polling interval by launching `bittray.exe` with with the commandline flag `-poll=n` where `n` is are integer seconds.
36+
37+
The default is 15 seconds.
2938

3039
# Menus
3140

0 commit comments

Comments
 (0)