Exclude specific transport actions from request size limit check
Relates elastic/elasticsearchelastic/elasticsearch#17951 Original commit: elastic/x-pack-elasticsearch@07d2165643
This commit is contained in:
parent
91e9a2f612
commit
a37cc72329
|
@ -107,11 +107,11 @@ public class ShieldServerTransportService extends TransportService {
|
|||
|
||||
@Override
|
||||
public <Request extends TransportRequest> void registerRequestHandler(String action, Supplier<Request> request, String executor,
|
||||
boolean forceExecution,
|
||||
boolean forceExecution, boolean canTripCircuitBreaker,
|
||||
TransportRequestHandler<Request> handler) {
|
||||
TransportRequestHandler<Request> wrappedHandler = new ProfileSecuredRequestHandler<>(action, handler, profileFilters,
|
||||
licenseState, threadPool.getThreadContext());
|
||||
super.registerRequestHandler(action, request, executor, forceExecution, wrappedHandler);
|
||||
super.registerRequestHandler(action, request, executor, forceExecution, canTripCircuitBreaker, wrappedHandler);
|
||||
}
|
||||
|
||||
protected Map<String, ServerTransportFilter> initializeProfileFilters() {
|
||||
|
|
Loading…
Reference in New Issue