123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367 |
- # This is a TOML document. Boom.
- env = "uat"
- tick = "1m"
- [feed]
- feedCacheCount = 200
- liveFeedCount = 7
- # index
- [feed.index]
- count = 10
- iPadCount = 20
- moePosition = 6
- followPosition = 7
- abnormal = false
- interest = ["生活","游戏","影视","娱乐","二次元","音乐","科技","时尚","鬼畜","舞蹈"]
- [feed.cmResource]
- "iphone" = 1890
- "android" = 1897
- "ipad" = 1975
- [feed.followMode]
- title = "当前为首页推荐 - 关注模式(内测版)"
- option = [
- {title="通用模式",desc="开启后,推荐你可能感兴趣的内容",value=0},
- {title="关注模式(内测版)",desc="开启后,仅显示关注UP主更新的视频",value=1}
- ]
- [feed.followMode.card]
- title = "启用首页推荐 - 关注模式(内测版)"
- desc = "我们根据你对bilibili推荐的反馈,为你定制了关注模式。开启后,仅为你显示关注UP主更新的视频哦。尝试体验一下?"
- button = ["暂不需要","立即开启"]
- [showInfoc]
- project = "app-feed"
- name = "show"
- proto = "tcp"
- addr = "172.18.21.101:5403"
- chanSize = 10240
- [tagInfoc]
- project = "app-feed"
- name = "tag"
- proto = "tcp"
- addr = "172.18.21.101:5403"
- chanSize = 10240
- [redirectInfoc]
- project = "app-feed"
- name = "redirect"
- proto = "tcp"
- addr = "172.18.21.101:5403"
- chanSize = 10240
- [showInfoc2]
- taskID = "000027"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 10240
- [tagInfoc2]
- taskID = "000028"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 10240
- [redirectInfoc2]
- taskID = "000029"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 10240
- [host]
- live = "http://live.bilibili.co"
- liveApi = "http://api.live.bilibili.co"
- bangumi = "http://bangumi.bilibili.co"
- data = "http://data.bilibili.co"
- hetongzi = "http://hetongzi.bilibili.co"
- www = "http://www.bilibili.com"
- apiCo = "http://api.bilibili.co"
- api = "http://api.bilibili.com"
- ad = "http://cm.bilibili.co"
- activity = "http://matsuri.bilibili.co"
- rank = ""
- show = "http://show.bilibili.com"
- dynamic = "http://api.vc.bilibili.com"
- dynamicCo = "http://api.vc.bilibili.co"
- bigData = "http://bigdata.bilibili.co"
- search = "http://s.search.bilibili.co"
- [xlog]
- dir = "/data/log/app-feed"
- [app]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- [httpClient]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "30ms"
- timeout = "100ms"
- keepAlive = "60s"
- timer = 128
- [httpClient.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpClientAsyn]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "1s"
- timeout = "2s"
- keepAlive = "60s"
- timer = 10
- [httpClientAsyn.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpData]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "30ms"
- timeout = "200ms"
- keepAlive = "60s"
- timer = 1024
- [httpData.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpTag]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "200ms"
- keepAlive = "60s"
- timer = 10
- [httpTag.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpAd]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "100ms"
- keepAlive = "60s"
- timer = 128
- [httpAd.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpActivity]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpActivity.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpBangumi]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpBangumi.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpDynamic]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "200ms"
- timeout = "800ms"
- keepAlive = "60s"
- timer = 128
- [httpDynamic.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpShow]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpShow.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpSearch]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpSearch.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [bm]
- [bm.outer]
- addr = "0.0.0.0:6221"
- timeout = "1s"
- [mysql]
- [mysql.show]
- addr = "172.18.33.49:3306"
- dsn = "show:UJYgc9UkHIaGovEDUXpTU4U0rjBpZtwb@tcp(172.18.33.49:3306)/bilibili_show?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 2
- idle = 1
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.show.Breaker]
- window = "1s"
- sleep = "1s"
- bucket = 10
- ratio = 0.5
- request = 100
- [mysql.resource]
- addr = "172.18.33.49:3306"
- dsn = "resource:nMgVkY0JPgQr60nUVif5tEUbOTXlilXN@tcp(172.18.33.49:3306)/bilibili_resource?timeout=100ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 2
- idle = 1
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.resource.Breaker]
- window = "1s"
- sleep = "1s"
- bucket = 10
- ratio = 0.5
- request = 100
- [mysql.manager]
- addr = "172.16.33.205:3308"
- dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_manager?timeout=100ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 2
- idle = 1
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.manager.Breaker]
- window = "1s"
- sleep = "1s"
- bucket = 10
- ratio = 0.5
- request = 100
- [redis]
- [redis.feed]
- name = "app-feed/feed"
- proto = "unix"
- addr = "/tmp/uat-app-redis.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "80ms"
- writeTimeout = "80ms"
- idleTimeout = "80s"
- expireRecommend = "1h"
- expireBlack = "16h"
- [redis.upper]
- name = "app-feed/upper"
- proto = "unix"
- addr = "/tmp/uat-app-redis.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "50ms"
- writeTimeout = "50ms"
- idleTimeout = "80s"
- expireUpper = "96h"
- [memcache]
- [memcache.feed]
- name = "app-feed/feed"
- proto = "unix"
- addr = "/tmp/uat-app-mc.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "150ms"
- writeTimeout = "150ms"
- idleTimeout = "80s"
- expireArchive = "24h"
- expireCache = "480h"
- [memcache.cache]
- name = "app-feed/cache"
- proto = "unix"
- addr = "/tmp/uat-app-mc.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "150ms"
- writeTimeout = "150ms"
- idleTimeout = "80s"
- expireCache = "24h"
- [dislikeDatabus]
- key = "0QNB0ZgFozbKUCQhbTq8"
- secret = "0QNB0ZgFozbKUCQhbTq9"
- group= "TagDislike-SkyHorse-P"
- topic= "Dislike-T"
- action="pub"
- name = "app-feed/dislike"
- proto = "tcp"
- addr = "172.18.33.50:6205"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "80ms"
- writeTimeout = "80ms"
- idleTimeout = "80s"
- expire = "1h"
- [bnj]
- tabImg = "http://i1.hdslb.com/bfs/archive/e51ec36d654559de9d2d197f4d77ee60302fa754.png"
- tabID = 10
- [hbase]
- master = ""
- meta = ""
- dialTimeout = "100ms"
- readTimeout = "100ms"
- readsTimeout = "200ms"
- writeTimeout = "200ms"
- writesTimeout = "200ms"
- [hbase.zookeeper]
- root = ""
- addrs = ["172.18.33.131:2181", "172.18.33.168:2181", "172.18.33.169:2181"]
- timeout = "30s"
|