82 lines
2.1 KiB
TOML
82 lines
2.1 KiB
TOML
|
|
[mysql]
|
|
addr = "172.22.34.101:3312"
|
|
dsn = "livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-ugift?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
|
|
#readDSN = ["livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-ugift?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4","livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-ugift?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
|
|
#dsn = "live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.117:3312)/live-ugift?timeout=400ms&readTimeout=400ms&writeTimeout=400ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
|
|
active = 20
|
|
idle = 10
|
|
idleTimeout ="4h"
|
|
queryTimeout = "800ms"
|
|
execTimeout = "800ms"
|
|
tranTimeout = "800ms"
|
|
|
|
[redis]
|
|
name = "gift-service"
|
|
proto = "tcp"
|
|
addr = "127.0.0.1:6379"
|
|
idle = 10
|
|
active = 10
|
|
dialTimeout = "1s"
|
|
readTimeout = "1s"
|
|
writeTimeout = "1s"
|
|
idleTimeout = "10s"
|
|
expire = "1m"
|
|
|
|
[memcache]
|
|
name = "gift-service"
|
|
proto = "tcp"
|
|
addr = ""
|
|
active = 50
|
|
idle = 10
|
|
dialTimeout = "1s"
|
|
readTimeout = "1s"
|
|
writeTimeout = "1s"
|
|
idleTimeout = "10s"
|
|
expire = "24h"
|
|
|
|
[log]
|
|
stdout = true
|
|
|
|
[gift]
|
|
enableFilterGift = true
|
|
bubbleId = 30027
|
|
|
|
[liverpc]
|
|
[liverpc.room]
|
|
Addr = "172.18.33.128:20200"
|
|
[liverpc.live_user]
|
|
Addr = "172.18.33.128:20206"
|
|
[liverpc.user]
|
|
Addr = "172.18.33.128:20802"
|
|
[liverpc.fans_medal]
|
|
Addr = "172.18.33.110:20800"
|
|
[liverpc.activity]
|
|
Addr = "172.18.33.128:20201"
|
|
|
|
[infoc]
|
|
[infoc.bagLog]
|
|
taskID = "000736"
|
|
proto = "tcp"
|
|
addr = "172.18.33.124:15140"
|
|
chanSize = 10240
|
|
[databus]
|
|
[databus.AddGift]
|
|
key = "ec4c0820d525d67b"
|
|
secret = "e20f8f664bf10722efeb6aac0cc16011"
|
|
group = "LiveAddGift-LiveLive-P"
|
|
topic = "LiveAddGift-T"
|
|
action = "pub"
|
|
name = "xgift/addFreeGift"
|
|
proto = "tcp"
|
|
addr = "172.18.33.50:6205"
|
|
idle = 1
|
|
active = 1
|
|
dialTimeout = "1s"
|
|
readTimeout = "1s"
|
|
writeTimeout = "1s"
|
|
idleTimeout = "10s"
|
|
[titan]
|
|
treeID = 1114
|
|
expire = 10
|