forked from I2P_Developers/i2p.i2p
build handler threads advanced config option
This commit is contained in:
@ -80,6 +80,7 @@ public class TunnelPoolManager implements TunnelManagerFacade {
|
|||||||
numHandlerThreads = 2;
|
numHandlerThreads = 2;
|
||||||
else
|
else
|
||||||
numHandlerThreads = 1;
|
numHandlerThreads = 1;
|
||||||
|
numHandlerThreads = ctx.getProperty("router.buildHandlerThreads", numHandlerThreads);
|
||||||
for (int i = 1; i <= numHandlerThreads; i++) {
|
for (int i = 1; i <= numHandlerThreads; i++) {
|
||||||
I2PThread hThread = new I2PThread(_handler, "BuildHandler " + i + '/' + numHandlerThreads, true);
|
I2PThread hThread = new I2PThread(_handler, "BuildHandler " + i + '/' + numHandlerThreads, true);
|
||||||
hThread.start();
|
hThread.start();
|
||||||
|
Reference in New Issue
Block a user