* i2psnark:

- More listing fixes
      - Revert choker change
      thx 'backup' !
This commit is contained in:
zzz
2010-06-01 13:56:53 +00:00
parent 05d45fe945
commit 13b54b864e
4 changed files with 58 additions and 27 deletions

View File

@@ -118,7 +118,7 @@ class PeerCheckerTask extends TimerTask
// Choke a percentage of them rather than all so it isn't so drastic...
// unless this torrent is over the limit all by itself.
boolean overBWLimitChoke = upload > 0 &&
((overBWLimit && random.nextInt(5) < 2) ||
((overBWLimit && random.nextBoolean()) ||
(coordinator.overUpBWLimit(uploaded)));
// If we are at our max uploaders and we have lots of other