web-interface-test.toml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. [rule]
  2. minRankCount = 30
  3. minRankIndexCount = 7
  4. minRankRegionCount = 9
  5. minRankRecCount = 7
  6. minRankTagCount = 1
  7. minDyCount = 3
  8. minNewListCnt = 10
  9. authorRecCnt = 16
  10. relatedArcCnt = 10
  11. maxHelpPageSize = 15
  12. maxArcsPageSize = 20
  13. maxSecondCacheSize = 200
  14. maxFirstCacheSize = 20
  15. dynamicNumArcs = 5
  16. regionsCount = 10
  17. bangumiCount = 50
  18. maxArtPageSize = 50
  19. artUpListGetCnt = 50
  20. artUpListCnt = 5
  21. elecShowTypeIDs = [20, 154, 156, 31, 30, 59, 29, 28, 26, 22, 126, 127, 24, 25, 47, 27, 17, 18, 16, 65, 136, 19, 121, 171, 172, 173, 37, 124, 122, 39, 96, 95, 98, 71, 137, 131, 157, 158, 159, 164, 82, 128, 138, 21, 75, 76, 161, 162, 163, 174, 153, 168]
  22. rids = [1, 3, 4, 5, 11, 13, 23, 36, 119, 129, 155, 160, 165, 167, 177, 181]
  23. noRelAids = [28335367,28990666]
  24. [identify]
  25. whiteAccessKey = ""
  26. whiteMid = 0
  27. [identify.app]
  28. key = "7c7ac0db1aa05587"
  29. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  30. [identify.memcache]
  31. name = "go-business/identify"
  32. proto = "tcp"
  33. addr = "172.16.33.54:11211"
  34. active = 10
  35. idle = 10
  36. dialTimeout = "1s"
  37. readTimeout = "1s"
  38. writeTimeout = "1s"
  39. idleTimeout = "80s"
  40. [identify.host]
  41. auth = "http://passport.bilibili.com"
  42. secret = "http://open.bilibili.com"
  43. [identify.httpClient]
  44. key = "7c7ac0db1aa05587"
  45. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  46. dial = "30ms"
  47. timeout = "150ms"
  48. keepAlive = "60s"
  49. [identify.httpClient.url]
  50. "http://passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  51. "http://passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  52. "http://open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  53. [log]
  54. dir = "/data/log/web-interface/"
  55. #[log.syslog]
  56. # proto = "udp"
  57. # addr = "172.18.19.22:9999"
  58. # project = "web-interface"
  59. # chanSize = 10240
  60. [app]
  61. key = "7c7ac0db1aa05587"
  62. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  63. [infoc2]
  64. taskID = "000078"
  65. proto = "tcp"
  66. addr = "172.19.100.20:5401"
  67. chanSize = 1024
  68. [httpClient]
  69. [httpClient.read]
  70. key = "6aa4286456d16b97"
  71. secret = "351cf022e1ae8296109c3c524faafcc8"
  72. dial = "1s"
  73. timeout = "1s"
  74. keepAlive = "60s"
  75. timer = 1000
  76. [httpClient.write]
  77. key = "7c7ac0db1aa05587"
  78. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  79. dial = "1s"
  80. timeout = "3s"
  81. keepAlive = "60s"
  82. timer = 1000
  83. [httpClient.bigData]
  84. key = "7c7ac0db1aa05587"
  85. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  86. dial = "1s"
  87. timeout = "1s"
  88. keepAlive = "60s"
  89. timer = 1000
  90. [httpClient.help]
  91. key = "7c7ac0db1aa05587"
  92. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  93. dial = "1s"
  94. timeout = "1s"
  95. keepAlive = "60s"
  96. timer = 1000
  97. [httpClient.search]
  98. key = "7c7ac0db1aa05587"
  99. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  100. dial = "1s"
  101. timeout = "1s"
  102. keepAlive = "60s"
  103. timer = 1000
  104. [httpClient.pay]
  105. key = "6aa4286456d16b97"
  106. secret = "351cf022e1ae8296109c3c524faafcc8"
  107. dial = "1s"
  108. timeout = "1s"
  109. keepAlive = "60s"
  110. timer = 1000
  111. [HTTPServer]
  112. addr = "0.0.0.0:6351"
  113. timeout = "1s"
  114. [redis]
  115. [redis.localRedis]
  116. name = "web-interface/rank"
  117. proto = "tcp"
  118. addr = "172.16.33.54:6379"
  119. idle = 10
  120. active = 10
  121. dialTimeout = "1s"
  122. readTimeout = "1s"
  123. writeTimeout = "1s"
  124. idleTimeout = "10s"
  125. rankingExpire = "10m"
  126. newlistExpire = "20s"
  127. rcExpire = "5m"
  128. indexIconExpire = "5m"
  129. [redis.bakRedis]
  130. name = "web-interface/rank-bak"
  131. proto = "tcp"
  132. addr = "172.16.33.54:6379"
  133. idle = 10
  134. active = 10
  135. dialTimeout = "1s"
  136. readTimeout = "1s"
  137. writeTimeout = "1s"
  138. idleTimeout = "10s"
  139. rankingExpire = "24h"
  140. newlistExpire = "24h"
  141. regionExpire = "24h"
  142. archiveExpire = "24h"
  143. tagExpire = "24h"
  144. cardExpire = "24h"
  145. rcExpire = "24h"
  146. artUpExpire = "24h"
  147. indexIconExpire = "24h"
  148. helpExpire = "24h"
  149. OlListExpire = "24h"
  150. appealLimitExpire = "1h"
  151. [host]
  152. rank = "http://172.18.7.101"
  153. rank2 = "http://data-test.bilibili.co"
  154. api = "http://api.bilibili.co"
  155. data = "http://data.bilibili.co"
  156. space = "http://space.bilibili.com"
  157. elec = "http://elec.bilibili.co"
  158. arcApi = "http://archive.api.bilibili.co"
  159. liveAPI = "http://api.live.bilibili.co"
  160. helpAPI = "http://service-pre.bilibili.com"
  161. show = "http://uat-show.bilibili.co"
  162. mall = "http://fat1-mall.bilibili.co"
  163. search = "http://s.search.bilibili.co"
  164. pay = "http://pay.bilibili.co"
  165. abServer = "http://10.23.58.27:6193"
  166. manager = "http://manager.bilibili.co"
  167. [web]
  168. pullRegionInterval = "1m"
  169. pullOnlineInterval = "15m"
  170. pullIndexIconInterval = "5m"
  171. searchEggInterval = "10m"
  172. onlineCount = 20
  173. specailInterval = "1m"
  174. [tag]
  175. pageSize = 200
  176. maxSize = 100
  177. [defaultTop]
  178. sImg = "http://i0.hdslb.com/bfs/space/768cc4fd97618cf589d23c2711a1d1a729f42235.png"
  179. lImg = "http://i0.hdslb.com/bfs/space/cb1c3ef50e22b6096fde67febe863494caefebad.png"
  180. [bfs]
  181. addr = "http://bfs.bilibili.co"
  182. bucket = "test"
  183. key = "221bce6492eba70f"
  184. secret = "6eb80603e85842542f9736eb13b7e3"
  185. maxFileSize = 1048576
  186. timeout = "400ms"
  187. [degradeConfig]
  188. expire = 3600
  189. [degradeConfig.memcache]
  190. name = "web-interface"
  191. proto = "tcp"
  192. addr = "172.16.33.54:11211"
  193. idle = 10
  194. active = 10
  195. dialTimeout = "2s"
  196. readTimeout = "2s"
  197. writeTimeout = "2s"
  198. idleTimeout = "7h"
  199. [bnj2019]
  200. bnjMainAid = 36324283
  201. bnjAdAv = 0
  202. bnjListAids = [36324368,36324414,36324551,36324580,36324656,36324841,36324894,36324961,36324997,36325803,36325869,36328477,36328523,36328583,36328676,36328706,36328952,36328993]
  203. bnjTick = "10s"
  204. [[bnj2019.timeline]]
  205. name = "1111"
  206. start = "2018-06-04T00:00:00+08:00"
  207. end = "2018-06-05T10:00:00+08:00"
  208. cover = "//activity.hdslb.com/blackboard/static/20180122/3f23658826b7a0a46f812d368533dc9f/images/j60y4n9j83.png"
  209. [[bnj2019.timeline]]
  210. name = "2222"
  211. start = "2018-06-04T00:00:00+08:00"
  212. end = "2018-06-05T10:00:00+08:00"
  213. cover = "//i0.hdslb.com/bfs/activity-plat/cover/20180209/m6pvmmnpxx.jpg"