fixed incorrect rate limit amount
related area in Mastodon code: 056b5ed72f/config/initializers/rack_attack.rb (L12)
This commit is contained in:
pare
c5d6a8c228
commit
71791ccd1d
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència