MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / apiLimiter

Function apiLimiter

server/api/DataRequestRoute.js:9–14  ·  view source on GitHub ↗
(max = 10)

Source from the content-addressed store, hash-verified

7const ConnectionController = require("../controllers/ConnectionController");
8
9const apiLimiter = (max = 10) => {
10 return rateLimit({
11 windowMs: 60 * 1000, // 1 minute
12 max,
13 });
14};
15
16module.exports = (app) => {
17 const dataRequestController = new DataRequestController();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected