diff options
author | Lorenz Diener <[email protected]> | 2017-09-08 15:06:31 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-09-08 15:06:31 +0200 |
commit | 81e2b4b4ab07092ef464bd9402b15bdbc26dc849 (patch) | |
tree | 3260df9b7d14ab32e80eff9a6b9f89cd50804705 /mastodon | |
parent | 4fbeb7245f690cf46f8c761a85c55341159b82b9 (diff) | |
download | mastodon.py-81e2b4b4ab07092ef464bd9402b15bdbc26dc849.tar.gz |
Change default ratelimit back to 300
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index a74f59a..7a93d6c 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -111,9 +111,9 @@ class Mastodon: | |||
111 | self._token_expired = datetime.datetime.now() | 111 | self._token_expired = datetime.datetime.now() |
112 | self._refresh_token = None | 112 | self._refresh_token = None |
113 | 113 | ||
114 | self.ratelimit_limit = 150 | 114 | self.ratelimit_limit = 300 |
115 | self.ratelimit_reset = time.time() | 115 | self.ratelimit_reset = time.time() |
116 | self.ratelimit_remaining = 150 | 116 | self.ratelimit_remaining = 300 |
117 | self.ratelimit_lastcall = time.time() | 117 | self.ratelimit_lastcall = time.time() |
118 | self.ratelimit_pacefactor = ratelimit_pacefactor | 118 | self.ratelimit_pacefactor = ratelimit_pacefactor |
119 | 119 | ||