forked from I2P_Developers/i2p.i2p
- Switch to real kad with lib from i2p.zzz.kademlia (not checked in yet)
- Bootstrap only once in explore thread - Add exploring to explore thread - Don't store default DHT setting in config file, so we can switch default to true later - Add new enforce-protocol streaming config, sorry locks out < 0.7.1 peers - Log tweaks
This commit is contained in:
@@ -240,6 +240,8 @@ public class I2PSnarkUtil {
|
||||
opts.setProperty("i2p.streaming.maxTotalConnsPerMinute", "8");
|
||||
if (opts.getProperty("i2p.streaming.maxConnsPerHour") == null)
|
||||
opts.setProperty("i2p.streaming.maxConnsPerHour", "20");
|
||||
if (opts.getProperty("i2p.streaming.enforceProtocol") == null)
|
||||
opts.setProperty("i2p.streaming.enforceProtocol", "true");
|
||||
_manager = I2PSocketManagerFactory.createManager(_i2cpHost, _i2cpPort, opts);
|
||||
_connecting = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user