tillrohrmann commented on a change in pull request #6839: [FLINK-10253] Run 
MetricQueryService with lower priority
URL: https://github.com/apache/flink/pull/6839#discussion_r225794071
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/BootstrapTools.java
 ##########
 @@ -290,7 +291,8 @@ private static Config 
getExecutorConfigByExecutorMode(Configuration configuratio
                        case FORK_JOIN_EXECUTOR:
                                return 
AkkaUtils.getForkJoinExecutorConfig(configuration);
                        case FIXED_THREAD_POOL_EXECUTOR:
-                               return AkkaUtils.getThreadPoolExecutorConfig();
+                               return AkkaUtils.getThreadPoolExecutorConfig(
+                                       
configuration.getInteger(MetricOptions.QUERY_SERVICE_THREAD_PRIORITY));
 
 Review comment:
   Good point. Only the thread priority should be passed to this method here. I 
guess we need to introduce a executor config instead of simply using an enum.

----------------------------------------------------------------
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

Reply via email to