From 480998974d06a545edcfa41c7e3a596cdfa7ac6d Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Mon, 10 Aug 2015 16:37:16 -0700 Subject: [PATCH] Align batcher stats for i386 Fixes issue #3213. --- tsdb/batcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsdb/batcher.go b/tsdb/batcher.go index d1a4cf2b74d..aefbea723e1 100644 --- a/tsdb/batcher.go +++ b/tsdb/batcher.go @@ -9,6 +9,8 @@ import ( // PointBatcher accepts Points and will emit a batch of those points when either // a) the batch reaches a certain size, or b) a certain time passes. type PointBatcher struct { + stats PointBatcherStats + size int duration time.Duration @@ -17,8 +19,6 @@ type PointBatcher struct { out chan []Point flush chan struct{} - stats PointBatcherStats - wg *sync.WaitGroup }