From 52c1ea5904050d10d3414422c71d2326ac303857 Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Wed, 3 Apr 2024 14:38:40 +0100 Subject: [PATCH] [exporterhelper] Update stale batchSender comments Update comment as fields may have been renamed. --- exporter/exporterhelper/batch_sender.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/exporterhelper/batch_sender.go b/exporter/exporterhelper/batch_sender.go index da2ba88c057..dbc670111ea 100644 --- a/exporter/exporterhelper/batch_sender.go +++ b/exporter/exporterhelper/batch_sender.go @@ -18,8 +18,8 @@ import ( // batchSender is a component that places requests into batches before passing them to the downstream senders. // Batches are sent out with any of the following conditions: -// - batch size reaches cfg.SendBatchSize -// - cfg.Timeout is elapsed since the timestamp when the previous batch was sent out. +// - batch size reaches cfg.MinSizeItems +// - cfg.FlushTimeout is elapsed since the timestamp when the previous batch was sent out. // - concurrencyLimit is reached. type batchSender struct { baseRequestSender