File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
test/java/org/tron/core/config/args Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1000,7 +1000,8 @@ public static void initDBConfig(CommonParameter parameter) {
1000
1000
DBConfig .setAllowProtoFilterNum (parameter .getAllowProtoFilterNum ());
1001
1001
DBConfig .setProposalExpireTime (parameter .getProposalExpireTime ());
1002
1002
DBConfig .setBlockNumForEneryLimit (parameter .getBlockNumForEneryLimit ());
1003
- DBConfig .setFullNodeAllowShieldedTransaction (parameter .isFullNodeAllowShieldedTransactionArgs ());
1003
+ DBConfig .setFullNodeAllowShieldedTransaction (parameter
1004
+ .isFullNodeAllowShieldedTransactionArgs ());
1004
1005
DBConfig .setZenTokenId (parameter .getZenTokenId ());
1005
1006
DBConfig .setValidContractProtoThreadNum (parameter .getValidContractProtoThreadNum ());
1006
1007
DBConfig .setVmTrace (parameter .isVmTrace ());
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ private int getBackupState() {
42
42
}
43
43
44
44
private void setBackupState (int status ) {
45
- PropUtil .writeProperty (parameter .getDbBackupConfig ().getPropPath (), BackupDbUtil .DB_BACKUP_STATE ,
45
+ PropUtil .writeProperty (parameter .getDbBackupConfig ()
46
+ .getPropPath (), BackupDbUtil .DB_BACKUP_STATE ,
46
47
String .valueOf (status ));
47
48
}
48
49
Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ public static void main(String[] args) {
59
59
CommonParameter parameter = Args .getInstance ();
60
60
61
61
logger .info ("index switch is {}" ,
62
- BooleanUtils .toStringOnOff (BooleanUtils .toBoolean (parameter .getStorage ().getIndexSwitch ())));
62
+ BooleanUtils .toStringOnOff (BooleanUtils
63
+ .toBoolean (parameter .getStorage ().getIndexSwitch ())));
63
64
64
65
if (StringUtils .isEmpty (parameter .getTrustNodeAddr ())) {
65
66
logger .error ("Trust node not set." );
Original file line number Diff line number Diff line change @@ -74,7 +74,8 @@ public void get() {
74
74
Assert .assertEquals (50051 , parameter .getRpcPort ());
75
75
Assert .assertEquals (Integer .MAX_VALUE , parameter .getMaxConcurrentCallsPerConnection ());
76
76
Assert
77
- .assertEquals (NettyServerBuilder .DEFAULT_FLOW_CONTROL_WINDOW , parameter .getFlowControlWindow ());
77
+ .assertEquals (NettyServerBuilder
78
+ .DEFAULT_FLOW_CONTROL_WINDOW , parameter .getFlowControlWindow ());
78
79
Assert .assertEquals (60000L , parameter .getMaxConnectionIdleInMillis ());
79
80
Assert .assertEquals (Long .MAX_VALUE , parameter .getMaxConnectionAgeInMillis ());
80
81
Assert .assertEquals (GrpcUtil .DEFAULT_MAX_MESSAGE_SIZE , parameter .getMaxMessageSize ());
You can’t perform that action at this time.
0 commit comments