mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-03-17 21:36:54 +01:00
reviews
This commit is contained in:
@@ -11,7 +11,7 @@ public class RateLimitResetScheduler {
|
||||
this.rateLimitingFilter = rateLimitingFilter;
|
||||
}
|
||||
|
||||
@Scheduled(cron = "0 0 0 * * MON") // At 00:00 every Monday
|
||||
@Scheduled(cron = "0 0 0 * * MON") // At 00:00 every Monday TODO: configurable
|
||||
public void resetRateLimit() {
|
||||
rateLimitingFilter.resetRequestCounts();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user