Permalink
Browse files

Introduce a QueuedThreadPool to try to utilise multiple cores

I was running https://github.com/garethr/jruby-embedded-jetty and noted that only one core seems to get used. I'm suggesting this change in the hope that it will use all of the available cores where possible.

It might be that the application is purely IO-bound and that's why I only see a single core running hot, but I don't know jetty well enough to say for sure.
  • Loading branch information...
1 parent 0ed29a8 commit 652c0904b578067351c20096bc4baf5dd5b39f73 @jabley committed Apr 6, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 ext/jetty/src/main/java/JettyWarMain.java
@@ -1,4 +1,3 @@
-
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.nio.SelectChannelConnector;

0 comments on commit 652c090

Please sign in to comment.