Skip to content

Commit 1369924

Browse files
authored
Merge pull request #5106 from Vikingzzu/update-refetch-block-timeout
fix(net): update fetch block timeout to 500ms
2 parents fee70c2 + 3f00ebd commit 1369924

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)