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

[NTP] Use the timeout from the config #4035

Merged
merged 2 commits into from
Aug 19, 2019
Merged

Conversation

albertvaka
Copy link
Contributor

What does this PR do?

The timeout wasn't being passed to the NTP client, so the default timeout of the client (5s) was always used regardless of whatever is configured.

This also changes our default to match the default from the NTP client so that we don't change the behaviour of existing agents.

The timeout wasn't being passed to the NTP client. The client default
timeout was 5 seconds, so this also changes our default to that so we
don't change the behaviour of existing agents.
@albertvaka albertvaka added kind/bug [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. labels Aug 19, 2019
@albertvaka albertvaka requested a review from a team as a code owner August 19, 2019 14:46
@albertvaka
Copy link
Contributor Author

I found this while investigating #1532

@albertvaka albertvaka modified the milestones: 6.13.1, 6.14.0 Aug 19, 2019
@albertvaka albertvaka merged commit 5fad5cf into master Aug 19, 2019
@albertvaka albertvaka deleted the albertvaka/ntp-timeout-unused branch August 19, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. kind/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants