Refocus Admin Guide

Configuration

Request Rate Limiting

Refocus lets you limit the number of requests per user. Once the user reaches the limit for the specified time interval, subsequent requests will get a response with http status code 429 (Too Many Requests).

Configure your limits using the following environment variables:

The following headers will then be added to the response:

When the caller exceeds the limit, the following header is also added to the response:

For more details on ratelimiter configuration, see the ratelimiter module.


Built with love by the Site Reliability Tools team @ Salesforce.