arina-ielchiieva commented on a change in pull request #1440: DRILL-6693: When
a query is started from Drill Web Console, the UI becomes inaccessible
URL: https://github.com/apache/drill/pull/1440#discussion_r212288493
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/WebServer.java
##########
@@ -136,7 +136,8 @@ public void start() throws Exception {
final boolean portHunt = config.getBoolean(ExecConstants.HTTP_PORT_HUNT);
final int acceptors =
config.getInt(ExecConstants.HTTP_JETTY_SERVER_ACCEPTORS);
final int selectors =
config.getInt(ExecConstants.HTTP_JETTY_SERVER_SELECTORS);
- final QueuedThreadPool threadPool = new QueuedThreadPool(2, 2, 60000);
+ final int handlers =
config.getInt(ExecConstants.HTTP_JETTY_SERVER_HANDLERS);
+ final QueuedThreadPool threadPool = new QueuedThreadPool(2, 2);
Review comment:
Given another thought to this since we are hard-coding number of threads as
well, no need to make idle time configurable. Please disregard the question.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services