Fixed bug causing congestion-avoidance code to not get executed.

This commit is contained in:
mathiasdm
2009-06-06 17:42:33 +00:00
parent eee160503b
commit ed8fd0bde2

View File

@ -101,7 +101,7 @@ class RouterThrottleImpl implements RouterThrottle {
// reject here if lag too high??? // reject here if lag too high???
RateStat rs = _context.statManager().getRate("transport.sendProcessingTime"); RateStat rs = _context.statManager().getRate("transport.sendProcessingTime");
Rate r = null; Rate r = rs.getRate(60*1000);
//Reject tunnels if the time to process messages and send them is too large. Too much time implies congestion. //Reject tunnels if the time to process messages and send them is too large. Too much time implies congestion.
if(r != null) { if(r != null) {