123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- [log]
- # dir = "/tmp/log/bbq-service"
- stdout=true
- v = 5
- [grpc]
- timeout = "500ms"
- addr = "0.0.0.0:9005"
- [bm]
- [bm.server]
- addr = "0.0.0.0:8802"
- timeout = "1s"
- [bm.client]
- key = "654af11b5df0c9d3"
- secret = "a7512b8b243b82f4bdb72cf2824b3f8e"
- dial = "500ms"
- timeout = "30s"
- keepAlive = "60s"
- timer = 10
- [bm.client.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [mysql]
- #addr = "127.0.0.1:3306"
- #dsn = "root:123456@tcp(127.0.0.1:3306)/bbq?allowNativePasswords=true&timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- #readDSN = ["root:123456@tcp(127.0.0.2:3306)/bbq?allowNativePasswords=true&timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
- addr = "172.16.38.91:3306"
- dsn = "root:123456@tcp(172.16.38.91:3306)/bbq?timeout=2000ms&readTimeout=2000ms&writeTimeout=2000ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- readDSN = ["root:123456@tcp(172.16.38.91:3306)/bbq?timeout=2000ms&readTimeout=2000ms&writeTimeout=2000ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
- active = 20
- idle = 50
- idleTimeout ="4h"
- queryTimeout = "1000ms"
- execTimeout = "1000ms"
- tranTimeout = "2000ms"
- [cmsmysql]
- addr = "172.16.38.91:3306"
- dsn = "root:123456@tcp(172.16.38.91:3306)/bbq_cms?timeout=2000ms&readTimeout=2000ms&writeTimeout=2000ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- readDSN = ["root:123456@tcp(172.16.38.91:3306)/bbq_cms?timeout=2000ms&readTimeout=2000ms&writeTimeout=2000ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
- active = 20
- idle = 50
- idleTimeout ="4h"
- queryTimeout = "1000ms"
- execTimeout = "1000ms"
- tranTimeout = "2000ms"
- [redis]
- name = "bbq-web"
- proto = "tcp"
- addr = "172.16.38.91:6379"
- idle = 10
- active = 10
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1m"
- [berserker]
- [berserker.key]
- [berserker.key.yyc]
- appkey = "dcf555f4f314ccdfad7cb8a3288f1643"
- secret = "4efd3443561e66832b3ba9128a1ad720"
- [berserker.key.hsc]
- appkey = "0bcf67ecf921576350a4f916c1edecbf"
- secret = "1003e5a9babe66ef6834fe839ce8223f"
- [berserker.key.lzq]
- appkey = "e51d04f43e9c9bca8678dcb4586c76db"
- secret = "7c53bf6d17c2d51253b927bc057abeae"
- [berserker.api]
- rankmonthly = "http://berserker.bilibili.co/avenger/api/92/query"
- rankdaily = "http://berserker.bilibili.co/avenger/api/102/query"
- userdmg = "http://berserker.bilibili.co/avenger/api/98/query"
- operaonce = "http://berserker.bilibili.co/avenger/api/121/query"
- [grpcClient]
- [grpcClient.account]
- addr = "discovery://default/account.service"
- [grpcClient.account.wardenconf]
- dial = "1s"
- timeout = "2s"
- [grpcClient.archive]
- addr = "discovery://default/archive.service"
- [grpcClient.archive.wardenconf]
- dial = "100ms"
- timeout = "500ms"
- [grpcClient.bvcplay]
- addr = "172.16.39.21:14500"
- [grpcClient.bvcplay.wardenconf]
- dial = "3000ms"
- timeout = "5000ms"
- [urls]
- bvc_push="http://172.18.33.140:7703/api/v1/task/push/bbq"
- [databus]
- [databus.cms]
- key = "36ff3e402f7c310a"
- secret = "dbd11b140486dc0bc263cf7ec540186c"
- group = "BBQCms-BbqBbq-P"
- topic = "BBQCms-T"
- action = "pub"
- buffer = 1024
- name = "history"
- proto = "tcp"
- addr = "172.22.33.174:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [databus.cms.discovery]
- domain = "uat-api.bilibili.co"
- key = "c8c48e784e05acfb"
- secret = "aa63ee0a10afa358d02a07e7abcec546"
- region = "sh"
- zone = "sh001"
- env = "uat"
- [databus.archive]
- key = "36ff3e402f7c310a"
- secret = "dbd11b140486dc0bc263cf7ec540186c"
- group = "ArchiveNotify-BbqBbq-BbqBiliArchiveNotify-S"
- topic = "ArchiveNotify-T"
- action = "sub"
- buffer = 1024
- name = "history"
- proto = "tcp"
- addr = "172.22.33.174:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [databus.archive.discovery]
- domain = "api.bilibili.co"
- key = "c8c48e784e05acfb"
- secret = "aa63ee0a10afa358d02a07e7abcec546"
- region = "sh"
- zone = "sh001"
- env = "uat"
- [bpscode]
- [bpscode.720p]
- 2m=130
- 1m=129
- [bpscode.540p]
- 2m=128
- 1m=127
- [upload]
- [upload.file]
- prefix= "0"
- line = "ws"
- [upload.endpoint]
- main = "//upos-hz-uat.acgvideo.com"
- backup = "//upos-hz-uat.acgvideo.com"
- [upload.auth]
- ak = "1494471752"
- sk = "3c3989e9e0f4e64d9c817be4caf8a9c1"
|