diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/index.rst b/docs/index.rst index 02676a4..5e893fe 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -41,9 +41,10 @@ node running Mastodon. | |||
41 | 41 | ||
42 | A note about rate limits | 42 | A note about rate limits |
43 | ------------------------ | 43 | ------------------------ |
44 | Mastodons API rate limits per IP. Mastodon.py has three modes for dealing | 44 | Mastodons API rate limits per IP. By default, the limit is 150 requests per 5 minute |
45 | with rate limiting that you can pass to the constructor, "throw", "wait" | 45 | time slow. This can differ from instance to instance and is subject to change. |
46 | and "pace", "wait" being the default. | 46 | Mastodon.py has three modes for dealing with rate limiting that you can pass to |
47 | the constructor, "throw", "wait" and "pace", "wait" being the default. | ||
47 | 48 | ||
48 | In "throw" mode, Mastodon.py makes no attempt to stick to rate limits. When | 49 | In "throw" mode, Mastodon.py makes no attempt to stick to rate limits. When |
49 | a request hits the rate limit, it simply throws a MastodonRateLimitError. This is | 50 | a request hits the rate limit, it simply throws a MastodonRateLimitError. This is |