Skip to content

Commit 7b33166

Browse files
committed
add jsonRpcMaxBatchSize default as 10
1 parent 2cbcf6a commit 7b33166

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

common/src/main/java/org/tron/common/parameter/CommonParameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ public class CommonParameter {
461461
public int jsonRpcMaxBlockFilterNum = 50000;
462462
@Getter
463463
@Setter
464-
public int jsonRpcMaxBatchSize = 1;
464+
public int jsonRpcMaxBatchSize = 10;
465465
@Getter
466466
@Setter
467467
public int jsonRpcMaxResponseSize = 25 * 1024 * 1024;

framework/src/main/resources/config.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ node {
378378
# Allowed maximum number for blockFilter
379379
maxBlockFilterNum = 50000
380380
# Allowed batch size
381-
maxBatchSize = 1
381+
maxBatchSize = 10
382382
# Allowed max response byte size
383383
maxResponseSize = 26214400 // 25 MB = 25 * 1024 * 1024 B
384384
# Allowed max request processing time in seconds

0 commit comments

Comments
 (0)