mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-07 05:38:30 +02:00
implement sync.Map and atomic values with benchmark
This commit is contained in:
@@ -120,7 +120,7 @@ func handleRateLimit(w http.ResponseWriter, r *http.Request, pe *ProxyEndpoint)
|
||||
return errors.New("rate limit exceeded")
|
||||
}
|
||||
|
||||
log.Println("Rate limit check", ip, ipTable.GetCount(ip))
|
||||
// log.Println("Rate limit check", ip, ipTable.GetCount(ip))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user