forked from I2P_Developers/i2p.i2p
propagate from branch 'i2p.i2p.zzz.test4' (head 3569f7d0608498cadafc88e87a0ad2b18c44dfb6)
to branch 'i2p.i2p' (head ddc9be27c47878e472d5b6c281cccb6094c42c9a)
This commit is contained in:
@@ -469,7 +469,8 @@ class RouterThrottleImpl implements RouterThrottle {
|
||||
if (fiveMinBps > 0) return nowBps - fiveMinBps;
|
||||
return 0;
|
||||
}
|
||||
private double getBps(Rate rate) {
|
||||
|
||||
private static double getBps(Rate rate) {
|
||||
if (rate == null) return -1;
|
||||
double bytes = rate.getLastTotalValue();
|
||||
return (bytes*1000.0d)/rate.getPeriod();
|
||||
|
@@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 10;
|
||||
public final static long BUILD = 1;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
Reference in New Issue
Block a user