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

Respect poll duration header from agent api #14

Merged
merged 1 commit into from
May 5, 2019

Conversation

lox
Copy link
Contributor

@lox lox commented May 5, 2019

The Buildkite Agent Metrics API returns a header Buildkite-Agent-Metrics-Poll-Duration that indicates the minimum poll duration. This is generally 10s, but under periods of heavy load it can scale up.

This limit is enforced in the cli tool and also in the lambda via global state.

@lox lox merged commit ccff229 into master May 5, 2019
@lox lox deleted the respect-poll-duration-header branch May 5, 2019 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant