Skip to content

Commit 5da1db0

Browse files
authored
fix: log line in pull data channel monitor (#165)
1 parent c875cbe commit 5da1db0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

channelmonitor/channelmonitor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,8 @@ func (mc *monitoredPullChannel) checkDataRate() {
567567
log.Debugf("%s: since last check: received: %d - %d = %d, required %d",
568568
mc.chid, mc.received, atIntervalStart, rcvdInInterval, mc.cfg.MinBytesTransferred)
569569
if rcvdInInterval < mc.cfg.MinBytesTransferred {
570-
log.Warnf("%s: data-rate too low, restarting channel: since last check %s ago: received: %d, required %d",
571-
mc.chid, mc.cfg.Interval, mc.received, mc.cfg.MinBytesTransferred)
570+
log.Warnf("%s: data-rate too low, restarting channel: since last check %s ago: received %d, required %d",
571+
mc.chid, mc.cfg.Interval, rcvdInInterval, mc.cfg.MinBytesTransferred)
572572
go mc.restartChannel()
573573
}
574574
}

0 commit comments

Comments
 (0)