From 85a9bbd390931364fd72209047f25f53a21926b2 Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Thu, 12 Sep 2024 11:11:36 -0700 Subject: [PATCH] Fix invalid function comment for InitExportingProcess (#364) 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 --- pkg/exporter/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exporter/process.go b/pkg/exporter/process.go index 674ff60..0c80bac 100644 --- a/pkg/exporter/process.go +++ b/pkg/exporter/process.go @@ -96,7 +96,7 @@ type ExporterInput struct { // InitExportingProcess takes in collector address(net.Addr format), obsID(observation ID) // and tempRefTimeout(template refresh timeout). tempRefTimeout is applicable only // for collectors listening over UDP; unit is seconds. For TCP, you can pass any -// value. For UDP, if 0 is passed, consider 1800s as default. +// value and it will be ignored. For UDP, if 0 is passed, 600s is used as the default. // // PathMTU is recommended for UDP transport. If not given a valid value, i.e., either // 0 or a value more than 1500, we consider a default value of 512B as per RFC7011.