Skip to content

Commit

Permalink
security
Browse files Browse the repository at this point in the history
  • Loading branch information
henningandersen committed May 24, 2024
1 parent 6554796 commit 356a846
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.elasticsearch.action.support.ActionFilter;
import org.elasticsearch.action.support.DestructiveOperations;
import org.elasticsearch.action.support.PlainActionFuture;
import org.elasticsearch.action.support.UnsafePlainActionFuture;
import org.elasticsearch.bootstrap.BootstrapCheck;
import org.elasticsearch.client.internal.Client;
import org.elasticsearch.cluster.ClusterState;
Expand Down Expand Up @@ -2047,7 +2048,7 @@ private void reloadRemoteClusterCredentials(Settings settingsWithKeystore) {
return;
}

final PlainActionFuture<ActionResponse.Empty> future = new PlainActionFuture<>();
final PlainActionFuture<ActionResponse.Empty> future = new UnsafePlainActionFuture<>(ThreadPool.Names.GENERIC);
getClient().execute(
ActionTypes.RELOAD_REMOTE_CLUSTER_CREDENTIALS_ACTION,
new TransportReloadRemoteClusterCredentialsAction.Request(settingsWithKeystore),
Expand Down

0 comments on commit 356a846

Please sign in to comment.