2006-09-26 Complication
* Take back an accidental log level change
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
$Id: history.txt,v 1.525 2006-09-25 22:11:41 zzz Exp $
|
||||
$Id: history.txt,v 1.526 2006-09-26 23:02:13 complication Exp $
|
||||
|
||||
2006-09-26 Complication
|
||||
* Take back an accidental log level change
|
||||
|
||||
2006-09-26 Complication
|
||||
* Subclass from Clock a RouterClock which can access router transports,
|
||||
|
@ -996,8 +996,8 @@ public class NTCPConnection implements FIFOBandwidthLimiter.CompleteListener {
|
||||
} else {
|
||||
long newSkew = (ourTs - ts);
|
||||
if (Math.abs(newSkew*1000) > Router.CLOCK_FUDGE_FACTOR) {
|
||||
if (_log.shouldLog(Log.ERROR))
|
||||
_log.error("Peer's skew jumped too far (from " + _clockSkew + " s to " + newSkew + " s): " + toString());
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Peer's skew jumped too far (from " + _clockSkew + " s to " + newSkew + " s): " + toString());
|
||||
_context.statManager().addRateData("ntcp.corruptSkew", newSkew, getUptime());
|
||||
close();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user