[CCR] Change max_read_request_size default (#35247)
This changes the max_read_request_size default from unlimited to 32MB.
This commit is contained in:
parent
85f8458f06
commit
ddda2d419c
|
@ -52,7 +52,7 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
public class TransportResumeFollowAction extends HandledTransportAction<ResumeFollowAction.Request, AcknowledgedResponse> {
|
public class TransportResumeFollowAction extends HandledTransportAction<ResumeFollowAction.Request, AcknowledgedResponse> {
|
||||||
|
|
||||||
static final ByteSizeValue DEFAULT_MAX_READ_REQUEST_SIZE = new ByteSizeValue(Long.MAX_VALUE, ByteSizeUnit.BYTES);
|
static final ByteSizeValue DEFAULT_MAX_READ_REQUEST_SIZE = new ByteSizeValue(32, ByteSizeUnit.MB);
|
||||||
static final ByteSizeValue DEFAULT_MAX_WRITE_REQUEST_SIZE = new ByteSizeValue(Long.MAX_VALUE, ByteSizeUnit.BYTES);
|
static final ByteSizeValue DEFAULT_MAX_WRITE_REQUEST_SIZE = new ByteSizeValue(Long.MAX_VALUE, ByteSizeUnit.BYTES);
|
||||||
private static final TimeValue DEFAULT_MAX_RETRY_DELAY = new TimeValue(500);
|
private static final TimeValue DEFAULT_MAX_RETRY_DELAY = new TimeValue(500);
|
||||||
private static final int DEFAULT_MAX_OUTSTANDING_WRITE_REQUESTS = 9;
|
private static final int DEFAULT_MAX_OUTSTANDING_WRITE_REQUESTS = 9;
|
||||||
|
|
Loading…
Reference in New Issue