1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00
akkoma/lib/pleroma/plugs/rate_limiter
rinpatch fc4496d4fa rate limiter: disable based on if remote ip was found, not on if the plug was enabled
The current rate limiter disable logic won't trigger when the remote ip
is not forwarded, only when the remoteip plug is not enabled, which is
not the case on most instances since it's enabled by default. This
changes the behavior to warn and disable  when the remote ip was not forwarded,
even if the RemoteIP plug is enabled.

Also closes #1620
2020-03-13 21:41:17 +03:00
..
limiter_supervisor.ex rate limiter: Fix a race condition 2020-03-01 01:13:07 +03:00
rate_limiter.ex rate limiter: disable based on if remote ip was found, not on if the plug was enabled 2020-03-13 21:41:17 +03:00
supervisor.ex New rate limiter 2019-11-11 12:13:06 +00:00