Commit graph

13 commits

Author SHA1 Message Date
Witold Duranek
0861c47e54
fix no rate limiting if average is 0 2023-01-03 16:16:05 +01:00
Ludovic Fernandez
778188ed34
fix: remove logs of the request 2022-12-05 11:30:05 +01:00
Ludovic Fernandez
adf82d72ae
chore: update linter 2022-08-31 08:24:08 +02:00
Pierre-Yves Aillet
95fabeae73
feat: rate-limit ceil Retry-After to superior integer 2021-11-16 16:38:11 +01:00
mpl
d9fc775084
ratelimiter: use correct ttlSeconds value, and always call Set
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
Co-authored-by: Daniel Tomcej <daniel.tomcej@gmail.com>
2021-07-26 17:20:27 +02:00
Jean-Baptiste Doumenjou
c0f1e74bed
chore: move to Traefik organization.
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2020-09-16 15:46:04 +02:00
mpl
6f4aefffe7 Add period for rate limiter middleware 2020-01-08 11:44:04 +01:00
Sylvain Rabot
e6e026f420 Fix rate limiting and SSE 2019-11-12 11:06:05 +01:00
Ludovic Fernandez
8e18d37b3d fix: logger and context. 2019-09-13 19:28:04 +02:00
mpl
4ec90c5c0d Add rate limiter, rename maxConn into inFlightReq
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
2019-08-26 03:20:06 -07:00
Fernandez Ludovic
4c5e7a238d chore: go module 2019-08-12 05:06:04 -07:00
Ludovic Fernandez
c8bf8e896a Move dynamic config into a dedicated package. 2019-07-10 09:26:04 +02:00
Ludovic Fernandez
f1b085fa36 Move code to pkg 2019-03-15 09:42:03 +01:00
Renamed from middlewares/ratelimiter/rate_limiter.go (Browse further)