Skip to content

Commit

Permalink
(BIDS-2872) improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush committed Feb 19, 2024
1 parent ad5e31a commit d0c6691
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ratelimit/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,6 @@ func updateRateLimits() error {
NoKeyRateLimit.Month = dbApiProduct.Month
}
if dbApiProduct.Name == "free" {
if FreeRatelimit.Second != dbApiProduct.Second || FreeRatelimit.Hour != dbApiProduct.Hour || FreeRatelimit.Month != dbApiProduct.Month {
logger.WithFields(logrus.Fields{"second": dbApiProduct.Second, "hour": dbApiProduct.Hour, "month": dbApiProduct.Month}).Infof("free ratelimit changed")
}
FreeRatelimit.Second = dbApiProduct.Second
FreeRatelimit.Hour = dbApiProduct.Hour
FreeRatelimit.Month = dbApiProduct.Month
Expand Down

0 comments on commit d0c6691

Please sign in to comment.