Skip to content

Commit

Permalink
optimize: registry.conf supplemented raft configuration (#6578)
Browse files Browse the repository at this point in the history
  • Loading branch information
funky-eyes authored May 24, 2024
1 parent cd1a61d commit 2d9e1b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/en-us/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6549](https://github.com/apache/incubator-seata/pull/6549)] macos workflow support arm testing
- [[#6558](https://github.com/apache/incubator-seata/pull/6558)] remove mysql-connector-java from pom.xml
- [[#6570](https://github.com/apache/incubator-seata/pull/6570)] add notice file to binary
- [[#6578](https://github.com/apache/incubator-seata/pull/6578)] registry.conf supplemented raft configuration
- [[#6576](https://github.com/apache/incubator-seata/pull/6576)] remove oracle datatype parser

### security:
Expand Down
1 change: 1 addition & 0 deletions changes/zh-cn/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
- [[#6549](https://github.com/apache/incubator-seata/pull/6549)] 支持macos arm架构单测
- [[#6558](https://github.com/apache/incubator-seata/pull/6558)] 移除 mysql-connector-java 依赖
- [[#6570](https://github.com/apache/incubator-seata/pull/6570)] 添加 notice 文件
- [[#6578](https://github.com/apache/incubator-seata/pull/6578)] registry.conf 补充raft配置
- [[#6576](https://github.com/apache/incubator-seata/pull/6576)] 移除 oracle 数据类型序列化扩展

### security:
Expand Down
7 changes: 5 additions & 2 deletions script/client/conf/registry.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ config {
# file、nacos 、apollo、zk、consul、etcd3、springCloudConfig、custom
type = "file"
raft {
metadata-max-age-ms = 30000
serverAddr = "127.0.0.1:8848"
metadataAaxAgeMs = 30000
serverAddr = "127.0.0.1:7091"
username= "seata"
password= "seata"
tokenValidityInMilliseconds= "1740000"
}
nacos {
serverAddr = "127.0.0.1:8848"
Expand Down

0 comments on commit 2d9e1b9

Please sign in to comment.