From 71791ccd1d08304dbec8b07f820da1a25365fe8d Mon Sep 17 00:00:00 2001 From: Zac Date: Tue, 11 Jul 2017 22:53:01 -0400 Subject: fixed incorrect rate limit amount related area in Mastodon code: https://github.com/tootsuite/mastodon/blob/056b5ed72f6d980bceeb49eb249b8365fe8fce66/config/initializers/rack_attack.rb#L12 --- mastodon/Mastodon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 26294f7..7203c8a 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -107,9 +107,9 @@ class Mastodon: self._token_expired = datetime.datetime.now() self._refresh_token = None - self.ratelimit_limit = 150 + self.ratelimit_limit = 300 self.ratelimit_reset = time.time() - self.ratelimit_remaining = 150 + self.ratelimit_remaining = 300 self.ratelimit_lastcall = time.time() self.ratelimit_pacefactor = ratelimit_pacefactor -- cgit v1.2.3