* Stats:
- Fix BufferedStatsLog so it works at all - Don't instantiate BufferedStatsLog unless stats.logFilters property is defined (restart now required to enable logging) This eliminates the StatLogWriter thread and a decent amount of memory. - Move two CLI classes out of the lib - Commment out places where getStatLog() isn't checked for null - Cleanups
This commit is contained in:
@ -333,7 +333,8 @@ public class Connection {
|
||||
ResendPacketEvent rpe = new ResendPacketEvent(packet, timeout);
|
||||
}
|
||||
|
||||
_context.statManager().getStatLog().addData(Packet.toId(_sendStreamId), "stream.rtt", _options.getRTT(), _options.getWindowSize());
|
||||
// warning, getStatLog() can be null
|
||||
//_context.statManager().getStatLog().addData(Packet.toId(_sendStreamId), "stream.rtt", _options.getRTT(), _options.getWindowSize());
|
||||
|
||||
_lastSendTime = _context.clock().now();
|
||||
_outboundQueue.enqueue(packet);
|
||||
|
Reference in New Issue
Block a user