Skip to content

Commit 2bbc0fd

Browse files
authored
feat(sign): optimize default signature verification efficiency (#5396)
1 parent 56efc4e commit 2bbc0fd

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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
@@ -824,7 +824,7 @@ public static void setParam(final String[] args, final String confFileName) {
824824
PARAMETER.validateSignThreadNum =
825825
config.hasPath(Constant.NODE_VALIDATE_SIGN_THREAD_NUM) ? config
826826
.getInt(Constant.NODE_VALIDATE_SIGN_THREAD_NUM)
827-
: (Runtime.getRuntime().availableProcessors() + 1) / 2;
827+
: Runtime.getRuntime().availableProcessors();
828828

829829
PARAMETER.walletExtensionApi =
830830
config.hasPath(Constant.NODE_WALLET_EXTENSION_API)

0 commit comments

Comments
 (0)