I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 3a2accde authored by zzz's avatar zzz
Browse files

* Update: Bump torrent update to 3% of routers

parent 6cef4f90
No related branches found
No related tags found
No related merge requests found
...@@ -566,8 +566,9 @@ public class ConsoleUpdateManager implements UpdateManager { ...@@ -566,8 +566,9 @@ public class ConsoleUpdateManager implements UpdateManager {
// DEBUG slow start for snark updates // DEBUG slow start for snark updates
// For 0.9.4 update, only for dev builds // For 0.9.4 update, only for dev builds
// For 0.9.5 update, only for dev builds and 1% more // 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 // 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)) if (_log.shouldLog(Log.WARN))
_log.warn("Ignoring torrent registration"); _log.warn("Ignoring torrent registration");
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment