From f1cc1af31869e8411f45d90b2dd57b4d4101486d Mon Sep 17 00:00:00 2001 From: rick olson Date: Thu, 4 Jan 2018 12:24:02 -0700 Subject: [PATCH] tq: Meter flushes should never be throttled. --- tq/meter.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tq/meter.go b/tq/meter.go index 57c27772..35edffd1 100644 --- a/tq/meter.go +++ b/tq/meter.go @@ -169,7 +169,11 @@ func (m *Meter) Flush() { return } - m.update() + m.updates <- &tasklog.Update{ + S: m.str(), + At: time.Now(), + Force: true, + } } // Finish shuts down the Meter.