d2r commented on a change in pull request #3050: STORM-3434: server: fix all 
checkstyle warnings
URL: https://github.com/apache/storm/pull/3050#discussion_r312710850
 
 

 ##########
 File path: 
storm-server/src/main/java/org/apache/storm/pacemaker/PacemakerServer.java
 ##########
 @@ -90,6 +90,7 @@ public PacemakerServer(IServerMessageHandler handler, 
Map<String, Object> config
         this.bossEventLoopGroup = new NioEventLoopGroup(1, bossFactory);
         // 0 means DEFAULT_EVENT_LOOP_THREADS
         // 
https://github.com/netty/netty/blob/netty-4.1.24.Final/transport/src/main/java/io/netty/channel/MultithreadEventLoopGroup.java#L40
+        int maxWorkers = (int) config.get(DaemonConfig.PACEMAKER_MAX_THREADS);
 
 Review comment:
   I apologize, @krichter722 , it looked to me like the comment was resolved 
without a change, so I was confused by the diff. The code as it is currently 
looks fine to me.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Reply via email to