mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 19:32:56 +00:00
* Update: Bump torrent update to 3% of routers
This commit is contained in:
1 parent
6cef4f90e1
commit
3a2accdebb
1 file changed
+2
-1
@@ -566,8 +566,9 @@ public class ConsoleUpdateManager implements UpdateManager {
|
||||
// DEBUG slow start for snark updates
|
||||
// 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) != 0) {
|
||||
if (method == TORRENT && RouterVersion.BUILD == 0 && _context.random().nextInt(100) > 2) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Ignoring torrent registration");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user