Skip to content

Commit 3f00ebd

Browse files
committed
update fetchBlockTimeout to 500ms
1 parent fee70c2 commit 3f00ebd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • framework/src/main/java/org/tron/core/config/args

framework/src/main/java/org/tron/core/config/args/Args.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ public static void setParam(final String[] args, final String confFileName) {
570570
: 2000;
571571

572572
if (!config.hasPath(Constant.NODE_FETCH_BLOCK_TIMEOUT)) {
573-
PARAMETER.fetchBlockTimeout = 200;
573+
PARAMETER.fetchBlockTimeout = 500;
574574
} else if (config.getInt(Constant.NODE_FETCH_BLOCK_TIMEOUT) > 1000) {
575575
PARAMETER.fetchBlockTimeout = 1000;
576576
} else if (config.getInt(Constant.NODE_FETCH_BLOCK_TIMEOUT) < 100) {

0 commit comments

Comments
 (0)