forked from I2P_Developers/i2p.i2p
Streaming:
- Fix uncaught exception when log level = WARN, broken in -23
This commit is contained in:
@@ -201,7 +201,7 @@ class ConnectionPacketHandler {
|
|||||||
final long lastSendTime = con.getLastSendTime();
|
final long lastSendTime = con.getLastSendTime();
|
||||||
|
|
||||||
if (_log.shouldLog(Log.WARN))
|
if (_log.shouldLog(Log.WARN))
|
||||||
_log.warn(String.format("%s congestion.. dup packet %s ackDelay %d lastSend %d ago",
|
_log.warn(String.format("%s congestion.. dup packet %s ackDelay %d lastSend %s ago",
|
||||||
con, packet, ackDelay, DataHelper.formatDuration(now - lastSendTime)));
|
con, packet, ackDelay, DataHelper.formatDuration(now - lastSendTime)));
|
||||||
|
|
||||||
final long nextSendTime = lastSendTime + ackDelay;
|
final long nextSendTime = lastSendTime + ackDelay;
|
||||||
|
@@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 23;
|
public final static long BUILD = 24;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user