forked from I2P_Developers/i2p.i2p
* Console: Fix Jetty thread pool policy and thread name
This commit is contained in:
@ -869,10 +869,11 @@ public class RouterConsoleRunner implements RouterApp {
|
|||||||
*/
|
*/
|
||||||
private static class CustomThreadPoolExecutor extends ExecutorThreadPool {
|
private static class CustomThreadPoolExecutor extends ExecutorThreadPool {
|
||||||
public CustomThreadPoolExecutor() {
|
public CustomThreadPoolExecutor() {
|
||||||
super(MIN_THREADS, MAX_THREADS, MAX_IDLE_TIME, TimeUnit.MILLISECONDS,
|
super(new ThreadPoolExecutor(
|
||||||
new SynchronousQueue() /** , following args not available in Jetty 7
|
MIN_THREADS, MAX_THREADS, MAX_IDLE_TIME, TimeUnit.MILLISECONDS,
|
||||||
new CustomThreadFactory(),
|
new SynchronousQueue(),
|
||||||
new ThreadPoolExecutor.CallerRunsPolicy() **/
|
new CustomThreadFactory(),
|
||||||
|
new ThreadPoolExecutor.CallerRunsPolicy())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
2013-05-06 zzz
|
2013-05-06 zzz
|
||||||
|
* Console: Fix Jetty thread pool policy and thread name
|
||||||
* Transports: Clean up internal/external port confusion (ticket #873)
|
* Transports: Clean up internal/external port confusion (ticket #873)
|
||||||
- Bind SSU to configured internal, not external, port at startup
|
- Bind SSU to configured internal, not external, port at startup
|
||||||
- Use only internal ports for UPnP (getRequestedPort() fixups)
|
- Use only internal ports for UPnP (getRequestedPort() fixups)
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 21;
|
public final static long BUILD = 22;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user