You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The type of rate limit to apply. The following types are supported:<br><br>- `global`: rate limit based on the number of requests made by all users <br>- `ip`: rate limit based on the IP address of the request <br>- `user`: rate limit based on the user ID of the request <br>- `session`: rate limit based on the session token of the request <br><br><br>:default: 'ip'",
/* Optional, the URL of the Redis server to store rate limit data. This allows to rate limit requests for multiple servers by calculating the sum of all requests across all servers. This is useful if multiple servers are processing requests behind a load balancer. For example, the limit of 10 requests is reached if each of 2 servers processed 5 requests.
335
335
*/
336
336
redisUrl: ?string;
337
+
/*
338
+
The type of rate limit to apply. The following types are supported:
339
+
<br><br>
340
+
- `global`: rate limit based on the number of requests made by all users <br>
341
+
- `ip`: rate limit based on the IP address of the request <br>
342
+
- `user`: rate limit based on the user ID of the request <br>
343
+
- `session`: rate limit based on the session token of the request <br>
0 commit comments