From 1f51cbfbdb19c1c1d31ec23889bb117a978552c7 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Sun, 6 Mar 2022 11:23:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=A4=BA=E4=BE=8B=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yaml | 3 +++ .../src/main/resources/bootstrap.yaml | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/hippo4j-example/hippo4j-core-apollo-spring-boot-starter-example/src/main/resources/application.yaml b/hippo4j-example/hippo4j-core-apollo-spring-boot-starter-example/src/main/resources/application.yaml index f2b21bba..8b1f1f78 100644 --- a/hippo4j-example/hippo4j-core-apollo-spring-boot-starter-example/src/main/resources/application.yaml +++ b/hippo4j-example/hippo4j-core-apollo-spring-boot-starter-example/src/main/resources/application.yaml @@ -7,6 +7,9 @@ spring: profiles: active: dev + application: + name: dynamic-threadpool-example + dynamic: thread-pool: enable: true diff --git a/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/src/main/resources/bootstrap.yaml b/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/src/main/resources/bootstrap.yaml index 42858bf4..f651432e 100644 --- a/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/src/main/resources/bootstrap.yaml +++ b/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/src/main/resources/bootstrap.yaml @@ -6,6 +6,10 @@ server: spring: profiles: active: dev + + application: + name: dynamic-threadpool-example + cloud: nacos: config: @@ -28,6 +32,8 @@ spring: secret-key: ac0426a5-c712-474c-9bff-72b8b8f5caff - platform: 'DING' secret-key: 56417ebba6a27ca352f0de77a2ae9da66d01f39610b5ee8a6033c60ef9071c55 + - platform: 'LARK' + secret-key: 2cbf2808-3839-4c26-a04d-fd201dd51f9e nacos: data-id: 'hippo4j-nacos.yaml' group: 'DEFAULT_GROUP' @@ -51,3 +57,4 @@ spring: receives: WECHAT: 'xxx' # Fill in the enterprise weChat userId DING: 'xxx' # phone + LARK: 'xxx'