diff --git a/ratelimit/ratelimit.go b/ratelimit/ratelimit.go index e279189f79..ea5c4eaf4e 100644 --- a/ratelimit/ratelimit.go +++ b/ratelimit/ratelimit.go @@ -80,8 +80,6 @@ var weightsMu = &sync.RWMutex{} var weights = map[string]int64{} // guarded by weightsMu var buckets = map[string]string{} // guarded by weightsMu -var pathPrefix = "" // only requests with this prefix will be ratelimited - var logger = logrus.StandardLogger().WithField("module", "ratelimit") type DbEntry struct {