fixed incorrect rate limit amount

related area in Mastodon code: 056b5ed72f/config/initializers/rack_attack.rb (L12)
This commit is contained in:
Zac 2017-07-11 22:53:01 -04:00 cometido por GitHub
pare c5d6a8c228
commit 71791ccd1d

Veure arxiu

@ -107,9 +107,9 @@ class Mastodon:
self._token_expired = datetime.datetime.now() self._token_expired = datetime.datetime.now()
self._refresh_token = None self._refresh_token = None
self.ratelimit_limit = 150 self.ratelimit_limit = 300
self.ratelimit_reset = time.time() self.ratelimit_reset = time.time()
self.ratelimit_remaining = 150 self.ratelimit_remaining = 300
self.ratelimit_lastcall = time.time() self.ratelimit_lastcall = time.time()
self.ratelimit_pacefactor = ratelimit_pacefactor self.ratelimit_pacefactor = ratelimit_pacefactor