Skip to content

Commit

Permalink
Use rateLimitFormatWarnf instead of Errorf
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb committed Sep 6, 2024
1 parent f0724f9 commit c4418f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/jetstream_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ func (s *Server) unmarshalRequest(pci *ClientInfo, acc *Account, subject string,
}

if err != nil {
s.Errorf("Invalid JetStream request '%s > %s': %s", acc, subject, err)
s.rateLimitFormatWarnf("Invalid JetStream request '%s > %s': %s", acc, subject, err)

var config = s.JetStreamConfig()
if config.Strict {
Expand Down

0 comments on commit c4418f4

Please sign in to comment.