This commit is contained in:
Anthony Stirling
2023-12-25 15:15:46 +00:00
parent 7fb8f5ed28
commit a286a92ede
5 changed files with 4 additions and 23 deletions

View File

@@ -96,7 +96,7 @@ public class SecurityConfiguration {
@Bean
public IPRateLimitingFilter rateLimitingFilter() {
int maxRequestsPerIp = 10000; // Example limit
int maxRequestsPerIp = 1000000; // Example limit TODO add config level
return new IPRateLimitingFilter(maxRequestsPerIp, maxRequestsPerIp);
}