forked from I2P_Developers/i2p.i2p
formatSize tweak
This commit is contained in:
@ -1294,7 +1294,7 @@ public class I2PSnarkServlet extends Default {
|
||||
|
||||
// rounding makes us look faster :)
|
||||
private static String formatSize(long bytes) {
|
||||
if (bytes < 5*1024)
|
||||
if (bytes < 5000)
|
||||
return bytes + " B";
|
||||
else if (bytes < 5*1024*1024)
|
||||
return ((bytes + 512)/1024) + " KB";
|
||||
|
11
history.txt
11
history.txt
@ -1,3 +1,14 @@
|
||||
2010-11-30 zzz
|
||||
* I2CP: Try to hide Pipe closed messages (several tickets)
|
||||
* i2psnark: Move PeerCheckerTask from Timer to SimpleTimer2
|
||||
to save some threads
|
||||
* Logging:
|
||||
- Limit buffer size; block and wakeup writer when full
|
||||
- Limit errors written to system log
|
||||
- Add method to force a log below the current level
|
||||
* Streaming: Change some logged errors to warnings
|
||||
(tickets 76, 341 and others)
|
||||
|
||||
20-11-29 dr|z3d
|
||||
* Updated console theme "light".
|
||||
|
||||
|
@ -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 = 16;
|
||||
public final static long BUILD = 17;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
Reference in New Issue
Block a user