You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2021/03/27 06:18:26 UTC

[servicecomb-docs] branch master updated: [SCB-2232]add docs about executor (#233)

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f4f9a0  [SCB-2232]add docs about executor (#233)
7f4f9a0 is described below

commit 7f4f9a05dc0c2a2e5c2f4278efccc1897d414913
Author: wxkwxkwxk1231 <ka...@protonmail.com>
AuthorDate: Sat Mar 27 14:18:17 2021 +0800

    [SCB-2232]add docs about executor (#233)
---
 java-chassis-reference/zh_CN/docs/build-provider/thread-pool.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/java-chassis-reference/zh_CN/docs/build-provider/thread-pool.md b/java-chassis-reference/zh_CN/docs/build-provider/thread-pool.md
index 862b9fd..69fd634 100644
--- a/java-chassis-reference/zh_CN/docs/build-provider/thread-pool.md
+++ b/java-chassis-reference/zh_CN/docs/build-provider/thread-pool.md
@@ -16,8 +16,10 @@ Java Chassis 提供了一个全局的内置线程池, 如果业务有特殊的
 * 启用线程池  
   假设新线程池bean id为custom-executor
   * 替换全局线程池:`servicecomb.executors.default: custom-executor`
-  * 指定schema专用的线程池: `servicecomb.executors.Provider.${schemaId}: custom-executor`
-  * 指定operation专用的线程池: `servicecomb.executors.Provider.${schemaId}.${operationId}: custom-executor`
+  * 指定schema专用的线程池: `servicecomb.executors.Provider.${microserviceId}.${schemaId}: custom-executor`
+  * 指定operation专用的线程池: `servicecomb.executors.Provider.${microserviceId}.${schemaId}.${operationId}: custom-executor`
+  * 指定microservice专用的线程池: `servicecomb.executors.Provider.${microserviceId}: custom-executor`
+    其中microserviceId为可选项,在edge service中用以区分不同的microservice
  
 ## Java Chassis 内置线程池