You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
|
|
[grpc] |
|
maxSendMsgSize = "16Mi" |
|
maxRecvMsgSize = "16Mi" |
|
readBufferSize = "8Ki" |
|
writeBufferSize = "8Ki" |
|
|
|
[grpc.keepalive] |
|
idleTimeout = "60s" # 空闲连接超时 |
|
forceCloseWait = "20s" |
|
keepAliveInterval = "60s" # 发送 ping 的间隔 |
|
keepAliveTimeout = "20s" # ping 超时 |
|
maxLifeTime = "2h" |
|
|
|
[etcd] |
|
endpoints = ["127.0.0.1:7079"] |
|
username = "" |
|
password = "" |
|
|
|
[consul] |
|
address = "127.0.0.1:8500" |
|
|
|
[nats] |
|
url = "nats://@127.0.0.1:7222" |
|
|
|
[database.mysql] |
|
logMode = "info" |
|
# https://gorm.io/zh_CN/docs/connecting_to_the_database.html |
|
mysql = { DSN = "root:123456@tcp(127.0.0.1:7306)/sig?charset=utf8&parseTime=True&loc=Local" } |
|
|
|
[database.postgres] |
|
logMode = "info" |
|
postgres = { DSN = "host=127.0.0.1 port=5432 user=postgres password=123456 dbname=sig sslmode=disable TimeZone=Asia/Shanghai" } |
|
|
|
|
|
[database.clickhouse] |
|
# dsn = "clickhouse://user:password@192.168.0.137:9000/game?dial_timeout=10s&read_timeout=20s" |
|
addr = "127.0.0.1:7900" |
|
database = "sig" |
|
username = "root" |
|
password = "123456" |
|
dial_timeout = 10 |
|
read_timeout = 20 |
|
logsql = false |
|
|
|
[database.kvrocks] |
|
addr = "127.0.0.1:7666" |
|
password = "" |
|
minIdleConns = 3 |
|
|
|
[tsdb] |
|
active = "victoriametrics" |
|
|
|
[tsdb.victoriametrics] |
|
addr = "http://127.0.0.1:8428"
|
|
|