Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Rate Limit

oguzcankirmemis edited this page Jul 10, 2020 · 5 revisions

The limit rate of requests is configured in two files.

The rateLimit parameter in oisp-frontend/public-interface/config.js sets a general limit for all endpoints. This limits the requests per route, account and hour.

This value is overridden if a route specific rate is given in oisp-frontend/lib/security/config/routes.config.js. Note that default values are provided for some of the endpoints.

The frontend container/deployment needs to be updated for changes to take effect.

The rate limiter can also be switched off for debugging purposes adding the variable --disable-rate-limits as an argument to frontend container in the deployment file at kubernetes/templates/frontend.yaml.

Table of Contents

Clone this wiki locally