forked from I2P_Developers/i2p.i2p
dont fail the peer based on tunnel activity (it may not be their fault)
we *do* still penalize the peer based on tunnel failures, but thats in the reliability calculator, not this one.
This commit is contained in:
@ -45,7 +45,7 @@ public class IsFailingCalculator extends Calculator {
|
||||
|
||||
long recently = _context.clock().now() - GRACE_PERIOD;
|
||||
|
||||
if (profile.getTunnelHistory().getLastRejected() >= recently) {
|
||||
if (false && (profile.getTunnelHistory().getLastRejected() >= recently) ) {
|
||||
// have they refused to participate in a tunnel in the last 5 minutes?
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("Peer " + profile.getPeer().toBase64()
|
||||
@ -53,7 +53,7 @@ public class IsFailingCalculator extends Calculator {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (profile.getTunnelHistory().getLastFailed() >= recently) {
|
||||
if (false && (profile.getTunnelHistory().getLastFailed() >= recently) ) {
|
||||
// has a tunnel they participate in failed in the last 5 minutes?
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("Peer " + profile.getPeer().toBase64()
|
||||
|
Reference in New Issue
Block a user