mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 13:03:04 +00:00
* Start of 0.9.7.1 branch
* i2psnark: Increase update-via-torrent to 30%
This commit is contained in:
1 parent
20e152e79a
commit
cdccb51456
1 file changed
+3
-2
@@ -567,8 +567,9 @@ public class ConsoleUpdateManager implements UpdateManager {
|
||||
// For 0.9.4 update, only for dev builds
|
||||
// For 0.9.5 update, only for dev builds and 1% more
|
||||
// For 0.9.6 update, only for dev builds and 3% more
|
||||
// Remove this in 0.9.6 or 0.9.7
|
||||
if (method == TORRENT && RouterVersion.BUILD == 0 && _context.random().nextInt(100) > 2) {
|
||||
// For 0.9.8 update, only for dev builds and 30% more
|
||||
// Remove this for 100%
|
||||
if (method == TORRENT && RouterVersion.BUILD == 0 && _context.random().nextInt(100) > 29) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Ignoring torrent registration");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user