Skip to content

Commit

Permalink
优化 solon.health.detector 代码实现,增加复用性
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Aug 3, 2023
1 parent 46ecfe4 commit 81d7145
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions solon-projects/solon-tool/solon-admin-client/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ solon.admin.client:
readTimeout: 5000 #读取超时,单位:毫秒
metadata: "" #自定义元数据
showSecretInformation: false #是否向服务端发送敏感信息,如环境变量等

## 设置 Solon Health Detector 监视器,* 为启用全部监视器
solon.health.detector: "*"
```
## 4. 配置中心
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 8889
server.port: 8889

solon.app:
name: "SolonAdminClient"
group: "demo"
Expand All @@ -9,8 +9,6 @@ solon.admin.client:
serverUrl: "http://localhost:8888"
metadata: "demo"

solon.health.detector: "*"

#solon.cloud.consul:
# server: "localhost"
solon.logging.appender:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
server:
port: 8888
server.port: 8888

solon.app:
name: "SolonAdminServer"
group: "demo"

solon.admin.server:
mode: "local"

#solon.cloud.consul:
# server: "localhost"
solon.logging.appender:
Expand Down

0 comments on commit 81d7145

Please sign in to comment.