Remove deprecated changeMerge thread pool size configurations
changeMerge.threadPoolSize and changeMerge.interactiveThreadPoolSize are deprecated since 2.11, it's time to remove them. Change-Id: I1c799954b9afabff7dac3da10f53bb7e9bdde916
This commit is contained in:
@@ -139,10 +139,6 @@ public class IndexModule extends LifecycleModule {
|
||||
if (threads <= 0) {
|
||||
threads = config.getInt("index", null, "threads", 0);
|
||||
}
|
||||
if (threads <= 0) {
|
||||
threads =
|
||||
config.getInt("changeMerge", null, "interactiveThreadPoolSize", 0);
|
||||
}
|
||||
if (threads <= 0) {
|
||||
return MoreExecutors.newDirectExecutorService();
|
||||
}
|
||||
@@ -160,9 +156,6 @@ public class IndexModule extends LifecycleModule {
|
||||
return batchExecutor;
|
||||
}
|
||||
int threads = config.getInt("index", null, "batchThreads", 0);
|
||||
if (threads <= 0) {
|
||||
threads = config.getInt("changeMerge", null, "threadPoolSize", 0);
|
||||
}
|
||||
if (threads <= 0) {
|
||||
threads = Runtime.getRuntime().availableProcessors();
|
||||
}
|
||||
|
Reference in New Issue
Block a user