Skip to content

Commit

Permalink
fix: log line in pull data channel monitor (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc authored Mar 19, 2021
1 parent c875cbe commit 5da1db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions channelmonitor/channelmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit 5da1db0

Please sign in to comment.