aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst7
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
42A note about rate limits 42A note about rate limits
43------------------------ 43------------------------
44Mastodons API rate limits per IP. Mastodon.py has three modes for dealing 44Mastodons API rate limits per IP. By default, the limit is 150 requests per 5 minute
45with rate limiting that you can pass to the constructor, "throw", "wait" 45time slow. This can differ from instance to instance and is subject to change.
46and "pace", "wait" being the default. 46Mastodon.py has three modes for dealing with rate limiting that you can pass to
47the constructor, "throw", "wait" and "pace", "wait" being the default.
47 48
48In "throw" mode, Mastodon.py makes no attempt to stick to rate limits. When 49In "throw" mode, Mastodon.py makes no attempt to stick to rate limits. When
49a request hits the rate limit, it simply throws a MastodonRateLimitError. This is 50a request hits the rate limit, it simply throws a MastodonRateLimitError. This is
Powered by cgit v1.2.3 (git 2.41.0)