Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
log the values that the limiter is initialized with
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jun 13, 2022
1 parent a98eba7 commit 8f2d1ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func NewLimiterFromJSON(in io.Reader, defaults LimitConfig) (Limiter, error) {
if err != nil {
return nil, err
}
log.Debugw("initializing new limiter with config", "limits", cfg)
return &fixedLimiter{cfg}, nil
}

Expand Down

0 comments on commit 8f2d1ba

Please sign in to comment.