Changeset eeb9ee0


Ignore:
Timestamp:
Feb 23, 2012 7:31:25 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
54f0cae
Parents:
87da4b7
Message:

snark conn limits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/I2PSnarkUtil.java

    r87da4b7 reeb9ee0  
    220220            //if (opts.getProperty("i2p.streaming.readTimeout") == null)
    221221            //    opts.setProperty("i2p.streaming.readTimeout", "120000");
     222            if (opts.getProperty("i2p.streaming.maxConnsPerMinute") == null)
     223                opts.setProperty("i2p.streaming.maxConnsPerMinute", "2");
     224            if (opts.getProperty("i2p.streaming.maxTotalConnsPerMinute") == null)
     225                opts.setProperty("i2p.streaming.maxTotalConnsPerMinute", "6");
    222226            _manager = I2PSocketManagerFactory.createManager(_i2cpHost, _i2cpPort, opts);
    223227        }
Note: See TracChangeset for help on using the changeset viewer.