app-interface-test.toml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. tick = "1m"
  2. roundTick ="30m"
  3. localCache = false
  4. [searchBuildLimit]
  5. PGCHighlightIOS = 9999
  6. PGCHighlightAndroid = 9999999
  7. PGCALLIOS = 8229
  8. PGCALLAndroid = 9999999
  9. SpecialerGuideIOS = 9999
  10. SpecialerGuideAndroid = 9999999
  11. SearchArticleIOS = 9999
  12. SearchArticleAndroid = 9999999
  13. ComicIOS = 8229
  14. ComicAndroid = 9999999
  15. ChannelIOS = 8229
  16. ChannelAndroid = 9999999
  17. CooperationIOS = 9999
  18. CooperationAndroid = 9999999
  19. QueryCorIOS = 9999
  20. QueryCorAndroid = 9999999
  21. SugDetailIOS = 9999
  22. SugDetailAndroid = 9999999
  23. NewTwitterIOS = 9999
  24. NewTwitterAndroid = 9999999
  25. [searchDynamicSwitch]
  26. isUP = true
  27. isCount = true
  28. [xlog]
  29. dir = "/data/log/app-interface"
  30. [Infoc]
  31. taskID = "001723"
  32. proto = "tcp"
  33. addr = "172.18.33.124:15140"
  34. chanSize = 10240
  35. [useractPub]
  36. key = "0QNB0ZgFozbKUCQhbTq8"
  37. secret = "0QNB0ZgFozbKUCQhbTq9"
  38. group = "RecUseract-App-P"
  39. topic = "RecUseract-T"
  40. action = "pub"
  41. name = "app-interface/useract"
  42. proto = "tcp"
  43. addr = "172.18.33.50:6205"
  44. active = 1
  45. idle = 1
  46. dialTimeout = "1s"
  47. readTimeout = "1s"
  48. writeTimeout = "1s"
  49. idleTimeout = "10s"
  50. [dislikePub]
  51. key = "0QNB0ZgFozbKUCQhbTq8"
  52. secret= "0QNB0ZgFozbKUCQhbTq9"
  53. group= "TagDislike-SkyHorse-P"
  54. topic= "Dislike-T"
  55. action="pub"
  56. name = "app-feed/dislike"
  57. proto = "tcp"
  58. addr = "172.18.33.50:6205"
  59. active = 100
  60. idle = 50
  61. dialTimeout = "50ms"
  62. readTimeout = "200ms"
  63. writeTimeout = "200ms"
  64. idleTimeout = "80s"
  65. [host]
  66. account = "http://uat-account.bilibili.com"
  67. bangumi = "http://uat-bangumi.bilibili.com"
  68. apiCo = "http://uat-api.bilibili.co"
  69. apiCom = "http://uat-api.bilibili.com"
  70. im9 = "http://www.im9.com"
  71. space = "http://uat-space.bilibili.com"
  72. search = "http://uat-s.search.bilibili.co"
  73. game = "http://interface.biligame.com"
  74. live = "http://uat-live.bilibili.com"
  75. elec = "http://uat-elec.bilibili.com"
  76. ad = "http://uat-cm.bilibili.co"
  77. vc = "http://uat-api.vc.bilibili.co"
  78. apiLiveCo = "http://api.live.bilibili.co"
  79. show = "http://show.bilibili.co"
  80. www = "http://uat-www.bilibili.com"
  81. pay = "http://pay.bilibili.co"
  82. member = "http://member.bilibili.co"
  83. mall = "http://fat1-mall.bilibili.co"
  84. [search]
  85. seasonNum = 3
  86. movieNum = 3
  87. seasonMore = 1
  88. movieMore = 1
  89. upUserNum = 1
  90. uvLimit = 1
  91. userNum = 1
  92. userVideoLimit = 1
  93. biliUserNum =1
  94. biliUserVideoLimit=1
  95. iPadSearchBangumi = 2
  96. iPadSearchFt = 2
  97. [space]
  98. forbidMid = [40153618,6887420,178431199,58010653,15528977,304022040,53148642,258502589,11458153,21841193,39329259,20003749,161652222,67916241]
  99. [gameApp]
  100. key = "QGSfvPhlsTtv3BMK"
  101. secret = "ygcWHXbEGGiO0octq3eIPMPInKsq1LYp"
  102. [identify]
  103. whiteAccessKey = "a2a1eb0ac97d6ba08b85aa0151528f34"
  104. whiteMid = 23675773
  105. [identify.memcache]
  106. name = "go-business/identify"
  107. proto = "unix"
  108. addr = "/tmp/uat-platform-identify-mc.sock"
  109. active = 10
  110. idle = 10
  111. dialTimeout = "80s"
  112. readTimeout = "200ms"
  113. writeTimeout = "200ms"
  114. idleTimeout = "80s"
  115. [identify.host]
  116. auth = "http://uat-passport.bilibili.co"
  117. secret = "http://uat-open.bilibili.co"
  118. [identify.httpClient]
  119. key = "7c7ac0db1aa05587"
  120. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  121. dial = "1s"
  122. timeout = "1s"
  123. keepAlive = "60s"
  124. [identify.httpClient.breaker]
  125. window = "10s"
  126. sleep = "100ms"
  127. bucket = 10
  128. ratio = 0.5
  129. request = 100
  130. [identify.httpClient.url]
  131. "http://uat-passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  132. "http://uat-passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  133. "http://uat-open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  134. [httpClient]
  135. key = "e7482d29be4a95b8"
  136. secret = "9e803791cdef756e75faee68e12b7442"
  137. dial = "30ms"
  138. timeout = "500ms"
  139. keepAlive = "60s"
  140. [httpClient.breaker]
  141. window = "3s"
  142. sleep = "100ms"
  143. bucket = 10
  144. ratio = 0.5
  145. request = 100
  146. [httpIm9]
  147. key = "e7482d29be4a95b8"
  148. secret = "9e803791cdef756e75faee68e12b7442"
  149. dial = "80ms"
  150. timeout = "150ms"
  151. keepAlive = "60s"
  152. [httpIm9.breaker]
  153. window = "3s"
  154. sleep = "100ms"
  155. bucket = 10
  156. ratio = 0.5
  157. request = 100
  158. [httpSearch]
  159. key = "e7482d29be4a95b8"
  160. secret = "9e803791cdef756e75faee68e12b7442"
  161. dial = "30ms"
  162. timeout = "800ms"
  163. keepAlive = "60s"
  164. [httpSearch.breaker]
  165. window = "3s"
  166. sleep = "100ms"
  167. bucket = 10
  168. ratio = 0.5
  169. request = 100
  170. [httpWrite]
  171. key = "e7482d29be4a95b8"
  172. secret = "9e803791cdef756e75faee68e12b7442"
  173. dial = "30ms"
  174. timeout = "700ms"
  175. keepAlive = "60s"
  176. [httpWrite.breaker]
  177. window = "3s"
  178. sleep = "100ms"
  179. bucket = 10
  180. ratio = 0.5
  181. request = 100
  182. [httpLive]
  183. key = "e7482d29be4a95b8"
  184. secret = "9e803791cdef756e75faee68e12b7442"
  185. dial = "30ms"
  186. timeout = "100ms"
  187. keepAlive = "60s"
  188. [httpLive.breaker]
  189. window = "3s"
  190. sleep = "100ms"
  191. bucket = 10
  192. ratio = 0.5
  193. request = 100
  194. [httpBangumi]
  195. key = "e7482d29be4a95b8"
  196. secret = "9e803791cdef756e75faee68e12b7442"
  197. dial = "30ms"
  198. timeout = "300ms"
  199. keepAlive = "60s"
  200. [httpBangumi.breaker]
  201. window = "3s"
  202. sleep = "100ms"
  203. bucket = 10
  204. ratio = 0.5
  205. request = 100
  206. [httpAD]
  207. key = "e7482d29be4a95b8"
  208. secret = "9e803791cdef756e75faee68e12b7442"
  209. dial = "80ms"
  210. timeout = "300ms"
  211. keepAlive = "60s"
  212. [httpAD.breaker]
  213. window = "3s"
  214. sleep = "100ms"
  215. bucket = 10
  216. ratio = 0.5
  217. request = 100
  218. [httpBPlus]
  219. key = "e7482d29be4a95b8"
  220. secret = "9e803791cdef756e75faee68e12b7442"
  221. dial = "80ms"
  222. timeout = "300ms"
  223. keepAlive = "60s"
  224. [httpBPlus.breaker]
  225. window = "3s"
  226. sleep = "100ms"
  227. bucket = 10
  228. ratio = 0.5
  229. request = 100
  230. [httpGame]
  231. key = "e7482d29be4a95b8"
  232. secret = "9e803791cdef756e75faee68e12b7442"
  233. dial = "80ms"
  234. timeout = "300ms"
  235. keepAlive = "60s"
  236. [httpGame.breaker]
  237. window = "3s"
  238. sleep = "100ms"
  239. bucket = 10
  240. ratio = 0.5
  241. request = 100
  242. [bm]
  243. [bm.outer]
  244. addr = "0.0.0.0:6131"
  245. timeout = "1s"
  246. [mysql]
  247. [mysql.show]
  248. addr = "172.22.34.101:3306"
  249. dsn = "show:UJYgc9UkHIaGovEDUXpTU4U0rjBpZtwb@tcp(172.22.34.101:3306)/bilibili_show?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  250. active = 10
  251. idle = 5
  252. queryTimeout = "100ms"
  253. execTimeout = "100ms"
  254. tranTimeout = "200ms"
  255. [mysql.show.breaker]
  256. window = "3s"
  257. sleep = "100ms"
  258. bucket = 10
  259. ratio = 0.5
  260. request = 100
  261. [redis]
  262. [redis.relate]
  263. name = "app-interface/relate"
  264. proto = "tcp"
  265. addr = "172.16.33.54:6380"
  266. active = 20
  267. idle = 10
  268. dialTimeout = "50ms"
  269. readTimeout = "50ms"
  270. writeTimeout = "50ms"
  271. idleTimeout = "80s"
  272. [redis.stat]
  273. name = "app-interface/stat"
  274. proto = "tcp"
  275. addr = "172.16.33.54:6380"
  276. active = 20
  277. idle = 10
  278. dialTimeout = "50ms"
  279. readTimeout = "50ms"
  280. writeTimeout = "50ms"
  281. idleTimeout = "80s"
  282. expire = "10s"
  283. [redis.contribute]
  284. name = "app-interface/contribute"
  285. proto = "tcp"
  286. addr = "172.16.33.54:6380"
  287. active = 20
  288. idle = 10
  289. dialTimeout = "50ms"
  290. readTimeout = "50ms"
  291. writeTimeout = "50m"
  292. idleTimeout = "80s"
  293. [localRedis]
  294. [localRedis.stat]
  295. name = "app-interface/local_stat"
  296. proto = "unix"
  297. addr = "/var/run/redis/redis.sock"
  298. active = 20
  299. idle = 10
  300. dialTimeout = "50ms"
  301. readTimeout = "100ms"
  302. writeTimeout = "100ms"
  303. idleTimeout = "80s"
  304. expire = "10s"
  305. [memcache]
  306. [memcache.archive]
  307. name = "app-interface/archive"
  308. proto = "unix"
  309. addr = "/tmp/uat-app-mc.sock"
  310. active = 50
  311. idle = 10
  312. dialTimeout = "50ms"
  313. readTimeout = "50ms"
  314. writeTimeout = "50ms"
  315. idleTimeout = "80s"
  316. archiveExpire = "20m"
  317. relateExpire = "20m"
  318. addonExpire = "5m"
  319. recommedExpire= "10m"
  320. [localMemcache]
  321. [localMemcache.archive]
  322. name = "app-interface/local_archive"
  323. proto = "unix"
  324. addr = "/var/run/memcached/memcached.sock"
  325. active = 50
  326. idle = 10
  327. dialTimeout = "50ms"
  328. readTimeout = "50ms"
  329. writeTimeout = "50ms"
  330. idleTimeout = "80s"
  331. [contributePub]
  332. key = ""
  333. secret = ""
  334. group = ""
  335. topic = ""
  336. action = "pub"
  337. offset = "old"
  338. buffer = 128
  339. name = "app-interface/contribute"
  340. proto = "tcp"
  341. addr = "172.16.33.158:6205"
  342. idle = 100
  343. active = 100
  344. dialTimeout = "1s"
  345. readTimeout = "60s"
  346. writeTimeout = "1s"
  347. idleTimeout = "10s"
  348. [[IOSSections]]
  349. Title = "创作中心"
  350. [[IOSSections.Items]]
  351. Title = "创作首页"
  352. URI = "bilibili://uper/homevc"
  353. Icon = "http://i0.hdslb.com/bfs/archive/03b380fb10fda3075e40a6e30c07abc76681eb9d.png"
  354. [[IOSSections.Items]]
  355. Title = "稿件管理"
  356. URI = "bilibili://uper/user_center/archive_list"
  357. Icon = "http://i0.hdslb.com/bfs/archive/0aea1fb991709811f6938fe90704a2020bf9f046.png"
  358. [[IOSSections.Items]]
  359. Title = "创作激励"
  360. URI = "https://member.bilibili.com/studio/up-allowance-h5#/"
  361. Icon = "http://i0.hdslb.com/bfs/archive/f15ab617709507f4852c6510183c1ca3c2c5b296.png"
  362. [[IOSSections.Items]]
  363. Title = "征稿公告"
  364. URI = "https://member.bilibili.com/studio/videoup-banner"
  365. Icon = "http://i0.hdslb.com/bfs/archive/0f38c69aa03addb6522ec986d279e90bbcc1050c.png"
  366. [[IOSSections]]
  367. Title = "个人中心"
  368. [[IOSSections.Items]]
  369. Title = "离线缓存"
  370. URI = "bilibili://user_center/download"
  371. Icon = "http://i0.hdslb.com/bfs/archive/021850f46b7d323a5a6a7402dd8dba966021288d.png"
  372. [[IOSSections.Items]]
  373. Title = "历史记录"
  374. URI = "bilibili://user_center/history"
  375. Icon = "http://i0.hdslb.com/bfs/archive/d513ebe76661d32963578f24b44469cfc17beb5c.png"
  376. [[IOSSections.Items]]
  377. Title = "我的收藏"
  378. NeedLogin = 1
  379. URI = "bilibili://user_center/favourite"
  380. Icon = "http://i0.hdslb.com/bfs/archive/7f347348c5d30e519e7b61994dca7bea27364c83.png"
  381. [[IOSSections.Items]]
  382. Title = "我的关注"
  383. NeedLogin = 1
  384. URI = "bilibili://user_center/myfollows"
  385. Icon = "http://i0.hdslb.com/bfs/archive/961279ea4f75c20d5b9a22f5956264662e97e77d.png"
  386. [[IOSSections.Items]]
  387. Title = "稍后再看"
  388. NeedLogin = 1
  389. URI = "bilibili://user_center/watch_later"
  390. Icon = "http://i0.hdslb.com/bfs/archive/2f2f58d3f74684c59814467dca5f78577744ca09.png"
  391. [[IOSSections.Items]]
  392. Title = "B币钱包"
  393. NeedLogin = 1
  394. URI = "bilibili://bilipay/wallet"
  395. Icon = "http://i0.hdslb.com/bfs/archive/65486287e36d789c631b630a6bc6e2a527dd48bb.png"
  396. [[IOSSections.Items]]
  397. Title = "会员购中心"
  398. URI = "bilibili://mall/mine?msource=mine"
  399. Icon = "http://i0.hdslb.com/bfs/archive/83e9831e358d7cafeaccab44967b3414653c973c.png"
  400. [[IOSSections.Items]]
  401. Title = "直播中心"
  402. NeedLogin = 1
  403. URI = "bilibili://user_center/live_center"
  404. Icon = "http://i0.hdslb.com/bfs/archive/9b37e79d5bd19ae4884c2426ff722b7ac3270c21.png"
  405. [[IOSSections]]
  406. Title = "我的服务"
  407. [[IOSSections.Items]]
  408. Title = "大会员"
  409. NeedLogin = 1
  410. URI = "bilibili://user_center/vip"
  411. Icon = "http://i0.hdslb.com/bfs/archive/34ff922443e5e1dd8b1bddb8ce938a61e13bbf56.png"
  412. [[IOSSections.Items]]
  413. Title = "看视频免流量"
  414. URI = "bilibili://user_center/free_traffic"
  415. Icon = "http://i0.hdslb.com/bfs/archive/c8c72498d59c33e2b5adaac31db022f6dcdb9064.png"
  416. [[IOSSections.Items]]
  417. Title = "我的客服"
  418. URI = "bilibili://user_center/feedback"
  419. Icon = "http://i0.hdslb.com/bfs/archive/d8906fde3144e1c6e5f1cf3492c948bfcfdb6287.png"