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

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

build handler threads advanced config option

parent 33d566be
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,7 @@ public class TunnelPoolManager implements TunnelManagerFacade { ...@@ -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();
......
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