Skip to content

Commit

Permalink
Merge pull request #139 from isimluk/more-specific-warning-message
Browse files Browse the repository at this point in the history
Make warning message more readable for bigger deployments
  • Loading branch information
redhatrises committed Oct 19, 2021
2 parents 3eaf604 + 3976ebf commit cef6b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falcon/api_client.go
Expand Up @@ -48,7 +48,7 @@ func (rt *roundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
req.Header.Add("User-Agent", userAgent)

if rt.LastRateLimitDigits == 1 || rt.LastRateLimitDigits == 2 {
log.Debug("Approaching API rate limits. Waiting 500 millisecond.")
log.Debug("Approaching CrowdStrike API rate limits. Waiting 500 millisecond.")
time.Sleep(500 * time.Millisecond)
}
response, err := rt.T.RoundTrip(req)
Expand Down

0 comments on commit cef6b53

Please sign in to comment.