mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
don't spawn on received cluster state
This commit is contained in:
parent
800e450e3a
commit
1ef1e9b25b
@ -107,5 +107,12 @@ public class PublishClusterStateAction extends AbstractComponent {
|
||||
listener.onNewClusterState(request.clusterState);
|
||||
channel.sendResponse(VoidStreamable.INSTANCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* No need to spawn, we add submit a new cluster state directly. This allows for faster application.
|
||||
*/
|
||||
@Override public boolean spawn() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user