Skip to content

Commit 82e0b70

Browse files
committed
Change transport.netty.receive_predictor_size default value to 32KB
1 parent 3ab361a commit 82e0b70

File tree

1 file changed

+2
-2
lines changed
  • modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4

1 file changed

+2
-2
lines changed

modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4/Netty4Plugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class Netty4Plugin extends Plugin implements NetworkPlugin {
5757
);
5858
public static final Setting<ByteSizeValue> SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_SIZE = byteSizeSetting(
5959
"http.netty.receive_predictor_size",
60-
new ByteSizeValue(64, ByteSizeUnit.KB),
60+
new ByteSizeValue(32, ByteSizeUnit.KB),
6161
Setting.Property.NodeScope
6262
);
6363
public static final Setting<Integer> WORKER_COUNT = new Setting<>(
@@ -68,7 +68,7 @@ public class Netty4Plugin extends Plugin implements NetworkPlugin {
6868
);
6969
private static final Setting<ByteSizeValue> NETTY_RECEIVE_PREDICTOR_SIZE = byteSizeSetting(
7070
"transport.netty.receive_predictor_size",
71-
new ByteSizeValue(64, ByteSizeUnit.KB),
71+
new ByteSizeValue(32, ByteSizeUnit.KB),
7272
Setting.Property.NodeScope
7373
);
7474
public static final Setting<ByteSizeValue> NETTY_RECEIVE_PREDICTOR_MAX = byteSizeSetting(

0 commit comments

Comments
 (0)