Skip to content

Commit 2776642

Browse files
authored
Fork CCR checkpoint listeners on CCR thread pool (#53265)
This commit moves the global checkpoint listeners used in CCR to the CCR thread pool. This removes the last use of the listener thread pool in the codebase.
1 parent d1bd395 commit 2776642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/ShardChangesAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ protected void asyncShardOperation(
395395

396396
@Override
397397
public Executor executor() {
398-
return threadPool.executor(ThreadPool.Names.LISTENER);
398+
return threadPool.executor(Ccr.CCR_THREAD_POOL_NAME);
399399
}
400400

401401
@Override

0 commit comments

Comments
 (0)