i2psnark: Don't count unchoked but uninterested peers as uploaders

when calculating global uploader limit, to allow more upload slots,
especially when some torrents are stalled.
Convert some shared fields to atomics for concurrency.
This commit is contained in:
zzz
2016-10-25 22:30:55 +00:00
parent 8a8452290c
commit d2569fa446
5 changed files with 156 additions and 41 deletions

View File

@ -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 = 3;
public final static long BUILD = 4;
/** for example "-test" */
public final static String EXTRA = "";