You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
535 B
YAML

Name: usercenter.rpc
ListenOn: 127.0.0.1:10001
Timeout: 5000
Etcd:
Hosts:
- 127.0.0.1:2379
Key: usercenter.rpc
Timeout: 5000 # default is 2000
NonBlock: true
Log:
Mode: file
KeepDays: 7
Level: error
DB:
#DataSource: root:root@tcp(192.168.1.100:3306)/dmgame?charset=utf8mb4&loc=Asia%2FShanghai&parseTime=true
DataSource: root:root@tcp(127.0.0.1:3306)/dmgame?charset=utf8mb4&loc=Asia%2FShanghai&parseTime=true
UserRetriever:
Enabled: true
UpdateDuration: 720 # 720 hours = 30 Day = 1 Month
Rank:
Enabled: true