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

Verified Commit 7a40cdd0 authored by Zlatin Balevsky's avatar Zlatin Balevsky
Browse files

return 3 hosts from hostcache

parent 837b8d82
......@@ -75,7 +75,7 @@ public class HostCache {
unverified.mkdir()
timer.schedule({hostPool.serialize(verified, unverified)} as TimerTask, 10000, 60 * 60 * 1000)
session.addMuxedSessionListener(new Listener(hostPool: hostPool, toReturn: 2, crawler: crawler),
session.addMuxedSessionListener(new Listener(hostPool: hostPool, toReturn: 3, crawler: crawler),
I2PSession.PROTO_DATAGRAM, I2PSession.PORT_ANY)
session.connect()
log.info("connected, going to sleep")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment