Skip to content

Commit 80b2277

Browse files
committed
clear some para in args.java
1 parent 4f915c2 commit 80b2277

File tree

1 file changed

+4
-1
lines changed
  • src/main/java/org/tron/core/config/args

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class Args {
8181
@Getter
8282
@Setter
8383
@Parameter(names = {"--min-time-ratio"})
84-
private double minTimeRatio = 1.0; // 50ms * 1.0 = 50ms = 50000us
84+
private double minTimeRatio = 0.6;
8585

8686
@Getter
8787
@Setter
@@ -372,6 +372,9 @@ public static void clearParam() {
372372
INSTANCE.receiveTcpMinDataLength = 2048;
373373
INSTANCE.isOpenFullTcpDisconnect = false;
374374
INSTANCE.supportConstant = false;
375+
INSTANCE.debug = false;
376+
INSTANCE.minTimeRatio = 0.6;
377+
INSTANCE.maxTimeRatio = 5.0;
375378
}
376379

377380
/**

0 commit comments

Comments
 (0)