vrozov 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_r212366889
##########
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:
@arina-ielchiieva Do you refer to min number of threads? The max number of
threads is changed later based on # of handlers, selectors, and connectors.
----------------------------------------------------------------
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