Skip to content

Commit c2e24f2

Browse files
author
Andrey Ershov
committed
Run on GENERIC thread pool
1 parent 80edff1 commit c2e24f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/get/TransportGetSnapshotsAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ private void getMultipleReposSnapshotInfo(List<RepositoryMetaData> repos, String
108108
boolean verbose, ActionListener<GetSnapshotsResponse> listener) {
109109
List<Future<List<SnapshotInfo>>> futures = new ArrayList<>(repos.size());
110110

111-
// run concurrently for all repos on SNAPSHOT thread pool
111+
// run concurrently for all repos on GENERIC thread pool
112112
for (final RepositoryMetaData repo : repos) {
113-
futures.add(threadPool.executor(ThreadPool.Names.SNAPSHOT).submit(
113+
futures.add(threadPool.executor(ThreadPool.Names.GENERIC).submit(
114114
() -> getSingleRepoSnapshotInfo(repo.name(), snapshots, ignoreUnavailable, verbose)));
115115
}
116116
assert repos.size() == futures.size();

0 commit comments

Comments
 (0)