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

Use correct default value for templateRefreshTimeout #353

Conversation

antoninbas
Copy link
Member

The correct recommended default is 600s, not 1800s. 1800s is the recommended default for templateLifeTime (3 times
templateRefreshTimeout).

We also update the UDP collector process to timeout the client after templateLifeTime instead of templateRefreshTimeout. This makes more sense as templateLifeTime is a collector process configuration parameter, while templateRefreshTimeout is for the exporter process.

The correct recommended default is 600s, not 1800s. 1800s is the
recommended default for templateLifeTime (3 times
templateRefreshTimeout).

We also update the UDP collector process to timeout the client after
templateLifeTime instead of templateRefreshTimeout. This makes more
sense as templateLifeTime is a collector process configuration
parameter, while templateRefreshTimeout is for the exporter process.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
Copy link
Contributor

@yuntanghsu yuntanghsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antoninbas antoninbas merged commit 834e99e into vmware:main Aug 26, 2024
8 checks passed
antoninbas added a commit to antoninbas/vmware-go-ipfix that referenced this pull request Sep 10, 2024
The default for the template refresh timeout is 600s, not 1800s.
This should have been modified as part of vmware#353.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
antoninbas added a commit that referenced this pull request Sep 12, 2024
The default for the template refresh timeout is 600s, not 1800s.
This should have been modified as part of #353.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants