aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-07-24 11:43:08 +0200
committerGitHub <[email protected]>2017-07-24 11:43:08 +0200
commit67fc8ab3fcbea9cfeaa0025fd9088be96c5f21f8 (patch)
tree3b457dbd4e003e0e941cdf4c7f12f3c49c53dab6 /mastodon
parentc5d6a8c2287ea445f8610ded2a723675479f2a04 (diff)
parent71791ccd1d08304dbec8b07f820da1a25365fe8d (diff)
downloadmastodon.py-67fc8ab3fcbea9cfeaa0025fd9088be96c5f21f8.tar.gz
Merge pull request #61 from theZacAttacks/patch-2
fixed incorrect rate limit amount
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py4
1 files 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:
107 self._token_expired = datetime.datetime.now() 107 self._token_expired = datetime.datetime.now()
108 self._refresh_token = None 108 self._refresh_token = None
109 109
110 self.ratelimit_limit = 150 110 self.ratelimit_limit = 300
111 self.ratelimit_reset = time.time() 111 self.ratelimit_reset = time.time()
112 self.ratelimit_remaining = 150 112 self.ratelimit_remaining = 300
113 self.ratelimit_lastcall = time.time() 113 self.ratelimit_lastcall = time.time()
114 self.ratelimit_pacefactor = ratelimit_pacefactor 114 self.ratelimit_pacefactor = ratelimit_pacefactor
115 115
Powered by cgit v1.2.3 (git 2.41.0)