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

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

NTCP: Speed up allowConnection() (ticket #2381)

parent 8a77db15
No related branches found
No related tags found
No related merge requests found
......@@ -614,7 +614,7 @@ public class NTCPTransport extends TransportImpl {
}
public boolean allowConnection() {
return countActivePeers() < getMaxConnections();
return _conByIdent.size() < getMaxConnections();
}
/** queue up afterSend call, which can take some time w/ jobs, etc */
......
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