Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
httpToken = "uat"
redisExpire = "30m"
[regions]
"bj" = ["北京","天津","河北","山东","山西","内蒙古","辽宁","吉林","黑龙江","甘肃","宁夏","新疆"]
"sh" = ["上海","江苏","浙江","安徽","江西","湖北","重庆","陕西","青海","河南","台湾"]
"gz" = ["广东","福建","广西","海南","湖南","四川","贵州","云南","西藏","香港","澳门"]
[server]
domain = "broadcast.chat.bilibili.com"
hostDomain = ".biliapi.com"
heartbeat = "30s"
heartbeatMax = 3
tcpPort = 7821
wsPort = 7822
wssPort = 7823
regionWeight = 1.5
[backoff]
maxDelay = 120
baseDelay = 3
factor = 1.6
jitter = 0.2
[log]
dir = "/data/log/broadcast-service"

View File

@@ -0,0 +1,16 @@
[push]
key = "170e302355453683"
secret = "3d0e8db7bed0503949e545a469789279"
group = "BroadcastJob-MainCommunity-P"
topic = "BroadcastJob-T"
action ="pub"
name = "broadcast/service"
proto = "tcp"
addr = "172.18.33.50:6205"
idle = 2
active = 5
dialTimeout = "1s"
readTimeout = "1s"
writeTimeout = "1s"
idleTimeout = "10s"
expire = "1h"

View File

@@ -0,0 +1,7 @@
[client]
dial = "1s"
timeout = "1s"
[server]
addr = "0.0.0.0:7839"
timeout = "1s"

View File

@@ -0,0 +1,3 @@
[server]
addr = "0.0.0.0:7831"
timeout = "1s"

View File

@@ -0,0 +1,5 @@
[stats]
taskID = "001482"
proto = "tcp"
addr = "172.18.33.125:15140"
chanSize = 10240

View File

@@ -0,0 +1,11 @@
[push]
name = "broadcast/push"
proto = "tcp"
addr = "172.22.33.126:6379"
idle = 32
active = 1024
dialTimeout = "1s"
readTimeout = "1s"
writeTimeout = "1s"
idleTimeout = "10s"
expire = "1h"