Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make warning message more readable for bigger deployments #139

Merged
merged 1 commit into from Oct 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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