From 931104fa2e399eb5f4f7847fde3f2973a030e30d Mon Sep 17 00:00:00 2001 From: Dirk McCormick Date: Fri, 19 Mar 2021 16:07:13 +0100 Subject: [PATCH] fix: log line in pull data channel monitor --- channelmonitor/channelmonitor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channelmonitor/channelmonitor.go b/channelmonitor/channelmonitor.go index 2493f1e8..f19f88b0 100644 --- a/channelmonitor/channelmonitor.go +++ b/channelmonitor/channelmonitor.go @@ -567,8 +567,8 @@ func (mc *monitoredPullChannel) checkDataRate() { log.Debugf("%s: since last check: received: %d - %d = %d, required %d", mc.chid, mc.received, atIntervalStart, rcvdInInterval, mc.cfg.MinBytesTransferred) if rcvdInInterval < mc.cfg.MinBytesTransferred { - log.Warnf("%s: data-rate too low, restarting channel: since last check %s ago: received: %d, required %d", - mc.chid, mc.cfg.Interval, mc.received, mc.cfg.MinBytesTransferred) + log.Warnf("%s: data-rate too low, restarting channel: since last check %s ago: received %d, required %d", + mc.chid, mc.cfg.Interval, rcvdInInterval, mc.cfg.MinBytesTransferred) go mc.restartChannel() } }