* i2psnark: Lower threshold for auto-stop

* Update: All updates via torrent
This commit is contained in:
zzz
2014-01-25 14:58:34 +00:00
parent 747d833392
commit 72bd1fe91b
2 changed files with 4 additions and 2 deletions

View File

@ -509,7 +509,7 @@ public class TrackerClient implements Runnable {
coordinator.getPeerCount() <= 0 &&
_util.getContext().clock().now() > _startedOn + 2*60*60*1000 &&
snark.getTotalLength() > 0 &&
uploaded >= 2 * snark.getTotalLength()) {
uploaded >= snark.getTotalLength() * 3 / 2) {
if (_log.shouldLog(Log.WARN))
_log.warn("Auto stopping " + snark.getBaseName());
snark.setAutoStoppable(false);