* Tunnels: Set default priorities for tunnels (ticket #719)

Exploratory: +30
   IRC: +15
   HTTP Proxy: +10
   I2PSnark: -10
This commit is contained in:
zzz
2012-11-17 17:32:24 +00:00
parent 3836742e7d
commit addfff8626
7 changed files with 25 additions and 12 deletions

View File

@ -219,6 +219,8 @@ public class I2PSnarkUtil {
opts.setProperty("inbound.nickname", "I2PSnark");
if (opts.getProperty("outbound.nickname") == null)
opts.setProperty("outbound.nickname", "I2PSnark");
if (opts.getProperty("outbound.priority") == null)
opts.setProperty("outbound.priority", "-10");
// Dont do this for now, it is set in I2PSocketEepGet for announces,
// we don't need fast handshake for peer connections.
//if (opts.getProperty("i2p.streaming.connectDelay") == null)