Skip to content

Commit

Permalink
Fix invalid function comment for InitExportingProcess (#364)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
antoninbas committed Sep 12, 2024
1 parent 579f2d0 commit 85a9bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exporter/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 85a9bbd

Please sign in to comment.