Been too long since i did anything, can't remember what the hell is in all this....

This commit is contained in:
2025-04-15 20:56:21 +01:00
parent 152c5cb18c
commit d7c15141b8
20 changed files with 248 additions and 78 deletions

View File

@@ -17,7 +17,7 @@ func GetVisitorLimiter(ip string) *rate.Limiter {
limiter, exists := visitors[ip]
if !exists {
limiter = rate.NewLimiter(1, 5)
limiter = rate.NewLimiter(3, 5)
visitors[ip] = limiter
}
return limiter