Skip to content

Commit

Permalink
optimize: the thread pool size of branchResultMessageExecutor (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
tuwenlin authored and liuqiufeng committed Jun 11, 2022
1 parent 209deb2 commit 0ccb089
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changes/en-us/develop.md
Expand Up @@ -12,6 +12,7 @@ Add changes here for all PR submitted to the develop branch.

### optimize:
- [[#4650](https://github.com/seata/seata/pull/4650)] fix some security vulnerabilities
- [[#4670](https://github.com/seata/seata/pull/4670)] optimize the thread pool size of branchResultMessageExecutor

### test:

Expand All @@ -21,5 +22,6 @@ Thanks to these contributors for their code commits. Please report an unintended
- [slievrly](https://github.com/slievrly)
- [pengten](https://github.com/pengten)
- [YSF-A](https://github.com/YSF-A)
- [tuwenlin](https://github.com/tuwenlin)

Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.
3 changes: 2 additions & 1 deletion changes/zh-cn/develop.md
Expand Up @@ -10,7 +10,7 @@

### optimize:
- [[#4650](https://github.com/seata/seata/pull/4650)] 修复安全漏洞

- [[#4670](https://github.com/seata/seata/pull/4670)] 优化branchResultMessageExecutor线程池的线程数
### test:


Expand All @@ -20,5 +20,6 @@
- [slievrly](https://github.com/slievrly)
- [pengten](https://github.com/pengten)
- [YSF-A](https://github.com/YSF-A)
- [tuwenlin](https://github.com/tuwenlin)

同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
Expand Up @@ -63,9 +63,9 @@ public class NettyServerConfig extends NettyBaseConfig {
private static int keepAliveTime = Integer.parseInt(System.getProperty(
ConfigurationKeys.KEEP_ALIVE_TIME, "500"));
private static int minBranchResultPoolSize = Integer.parseInt(System.getProperty(
ConfigurationKeys.MIN_BRANCH_RESULT_POOL_SIZE, "50"));
ConfigurationKeys.MIN_BRANCH_RESULT_POOL_SIZE, String.valueOf(WORKER_THREAD_SIZE)));
private static int maxBranchResultPoolSize = Integer.parseInt(System.getProperty(
ConfigurationKeys.MAX_BRANCH_RESULT_POOL_SIZE, "500"));
ConfigurationKeys.MAX_BRANCH_RESULT_POOL_SIZE, String.valueOf(WORKER_THREAD_SIZE)));
private static boolean ENABLE_TC_SERVER_BATCH_SEND_RESPONSE = CONFIG.getBoolean(ConfigurationKeys.ENABLE_TC_SERVER_BATCH_SEND_RESPONSE,
DefaultValues.DEFAULT_ENABLE_TC_SERVER_BATCH_SEND_RESPONSE);

Expand Down

0 comments on commit 0ccb089

Please sign in to comment.