Skip to content

Commit 3e0a838

Browse files
committed
adjust logback shutdown delay
1 parent 3ac0795 commit 3e0a838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/main/java/org/tron/core/config/TronLogShutdownHook.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class TronLogShutdownHook extends ShutdownHookBase {
1818
/**
1919
* The check times before shutdown. default is 50
2020
*/
21-
private Integer check_times = 50;
21+
private final long check_times = 60 * 1000 / CHECK_SHUTDOWN_DELAY.getMilliseconds();
2222

2323
public TronLogShutdownHook() {
2424
}

0 commit comments

Comments
 (0)