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…
Reference in New Issue