mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
c46b6bdbbe
#16076 This change removes ineffective rate limit to `/api/fleet/device/ping` and `api/fleet/orbit/ping`. Currently these endpoints are not rate limited, because the rate limiting used in these was the `errorLimiter` which only takes effect if the request fails and the ping endpoints never fail. So... we were making ineffective Redis accesses on every `/api/fleet/device/ping` and `api/fleet/orbit/ping` requests (we use Redis as the limiter store). - [X] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality |
||
---|---|---|
.. | ||
ratelimit_test.go | ||
ratelimit.go |