reply-test.toml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. [host]
  2. search = "http://uat-manager.bilibili.co/"
  3. [XLog]
  4. stdout=true
  5. [infoc]
  6. taskID = "000308"
  7. proto = "tcp"
  8. addr = "172.19.100.20:5401"
  9. chanSize = 10240
  10. [bm]
  11. addr = "0.0.0.0:9000"
  12. timeout = "1s"
  13. readTimeout = "1s"
  14. writeTimeout = "1s"
  15. [seq]
  16. businessID = 6
  17. token = "RA8yy0RjDCBTGgFUha4hPOnhxfXvM8hR"
  18. [appkeytype]
  19. "c1a1cb2d89c33794" = [1] # 稿件
  20. "53e2fa226f5ad348" = [1] # 稿件
  21. "33ac033ce123e590" = [4,9] # 活动,活动稿件
  22. "1320e897e00d4c1c" = [5] # 直播小视频、直播文章
  23. "903f486ae7dc87fa" = [6,7,15] # 封禁信息、风纪委
  24. "90e40332a3d3ba15" = [7] # 公告信息
  25. "58344a540b61aebf" = [8,10] # 直播活动、直播公告
  26. "9edfa647fbfde3e2" = [11] # 有文画站
  27. "9cfc54570033cd61" = [12] # 文章
  28. "7d9f6f6fe2a898e8" = [13] # 票务
  29. "0c4b8fe3ff35a4b6" = [14,19] # 音乐、音乐播单
  30. "27773a832a67e55f" = [16,20,21] # 点评、漫画部评论、漫画话评论
  31. "fb06a25c6338edbc" = [17] #庐山动态
  32. "b1014d7c339a5649" = [18] # 播单
  33. [identify]
  34. whiteAccessKey = "nKUPGzuhU|vTG58H!HPKLlktz{8}3^"
  35. whiteMid = 88889082
  36. csrf = true
  37. [identify.app]
  38. key = "c1a1cb2d89c33794"
  39. secret = "dda47eeca111e03e6845017505baea13"
  40. [identify.memcache]
  41. name = "go-business/identify"
  42. proto = "tcp"
  43. addr = "172.16.33.54:11211"
  44. active = 5
  45. idle = 10
  46. dialTimeout = "1s"
  47. readTimeout = "1s"
  48. writeTimeout = "1s"
  49. idleTimeout = "80s"
  50. [identify.host]
  51. auth = "http://passport.bilibili.co"
  52. secret = "http://open.bilibili.co"
  53. [identify.httpClient]
  54. key = "c1a1cb2d89c33794"
  55. secret = "dda47eeca111e03e6845017505baea13"
  56. dial = "30ms"
  57. timeout = "100ms"
  58. keepAlive = "60s"
  59. [identify.httpClient.breaker]
  60. window = "10s"
  61. sleep = "100ms"
  62. bucket = 10
  63. ratio = 0.5
  64. request = 100
  65. [identify.httpClient.url]
  66. "http://passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  67. "http://passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  68. "http://open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  69. [reply]
  70. maxPageSize = 20
  71. minConLen = 2
  72. maxConLen = 1000
  73. secondDefSize = 5
  74. secondDefPageNum = 1
  75. maxEmoji = 20
  76. emojiExpire = "1m"
  77. aitopicurl = "http://172.22.33.111:8100/topicrec"
  78. bigdataurl = "http://172.18.18.11:8888/comment"
  79. filter ="http://uat-api.bilibili.co"
  80. vipUrl ="http://uat-vip.bilibili.co"
  81. fansreceivedlisturl = "http://uat-api.live.bilibili.co/fans_medal/v1/fans_medal/get_list_weared"
  82. captchaTokenURL = "http://api.bilibili.co/x/internal/v1/captcha/token"
  83. captchaVerifyURL = "http://api.bilibili.co/x/internal/v1/captcha/verify"
  84. blockstatusurl="http://uat-account.bilibili.co/api/member/getBlockAndMoralStatus"
  85. credituserurl = "http://uat-blocked.bilibili.co/internal/v1/jury/info"
  86. forbidList = [11191454,9685876]
  87. [reply.SortByHotOids]
  88. "10100715"=1
  89. [reply.BnjAidHotNum]
  90. "10098208"=10
  91. [reply.HotReplyConfig]
  92. "1" = {"10098208" = 10}
  93. [httpClient]
  94. key = "c1a1cb2d89c33794"
  95. secret = "dda47eeca111e03e6845017505baea13"
  96. dial = "500ms"
  97. timeout = "1s"
  98. keepAlive = "60s"
  99. timer = 1000
  100. [httpClient.breaker]
  101. window ="3s"
  102. sleep ="100ms"
  103. bucket = 10
  104. ratio = 0.5
  105. request = 100
  106. [drawyooHTTPClient]
  107. key = "49df034922d68827"
  108. secret = "92ce984f5c8b8415366838c6ee3e039f"
  109. dial = "500ms"
  110. timeout = "1s"
  111. keepAlive = "60s"
  112. timer = 1000
  113. [drawyooHTTPClient.breaker]
  114. window ="3s"
  115. sleep ="100ms"
  116. bucket = 10
  117. ratio = 0.1
  118. request = 100
  119. [mysql]
  120. [mysql.reply]
  121. addr= "172.22.34.101:3306"
  122. dsn = "test_3306:UJPZaGKjpb2ylFx3HNhmLuwOYft4MCAi@tcp(172.22.34.101:3306)/bilibili_reply?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  123. active = 5
  124. idle = 2
  125. idleTimeout ="4h"
  126. queryTimeout = "200ms"
  127. execTimeout = "200ms"
  128. tranTimeout = "200ms"
  129. [mysql.reply.breaker]
  130. window = "3s"
  131. sleep = "100ms"
  132. bucket = 10
  133. ratio = 0.5
  134. request = 100
  135. [mysql.replySlave]
  136. addr= "172.22.34.101:3306"
  137. dsn = "test_3306:UJPZaGKjpb2ylFx3HNhmLuwOYft4MCAi@tcp(172.22.34.101:3306)/bilibili_reply?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  138. active = 10
  139. idle = 2
  140. idleTimeout ="4h"
  141. queryTimeout = "500ms"
  142. execTimeout = "500ms"
  143. tranTimeout = "500ms"
  144. [mysql.replySlave.breaker]
  145. window = "3s"
  146. sleep = "100ms"
  147. bucket = 10
  148. ratio = 0.5
  149. request = 100
  150. [supervision]
  151. startTime = "2017-06-02 22:15:00"
  152. endTime = "2017-06-05 08:00:00"
  153. completed = false
  154. location = "中国"
  155. [assistConfig]
  156. startTime = "2017-07-11 22:15:00"
  157. [identification]
  158. switchon = true
  159. [databus]
  160. key = "170e302355453683"
  161. secret = "3d0e8db7bed0503949e545a469789279"
  162. group = "ReplyAdd-MainCommunity-P"
  163. topic = "ReplyAdd-T"
  164. action ="pub"
  165. name = "reply/interface"
  166. proto = "tcp"
  167. addr = "172.18.33.50:6205"
  168. idle = 2
  169. active = 5
  170. dialTimeout = "1s"
  171. readTimeout = "1s"
  172. writeTimeout = "1s"
  173. idleTimeout = "10s"
  174. expire = "1h"
  175. [databus.discovery]
  176. domain = "api.bilibili.co"
  177. key = "0c4b8fe3ff35a4b6"
  178. secret = "b370880d1aca7d3a289b9b9a7f4d6812"
  179. [memcache]
  180. proto = "tcp"
  181. addr = "172.18.33.61:11213"
  182. idle = 10
  183. active = 10
  184. dialTimeout = "2s"
  185. readTimeout = "2s"
  186. writeTimeout = "2s"
  187. idleTimeout = "7h"
  188. expire = "24h"
  189. [redis]
  190. proto = "tcp"
  191. addr = "172.18.33.60:6889"
  192. idle = 10
  193. active = 10
  194. dialTimeout = "500ms"
  195. readTimeout = "1s"
  196. writeTimeout = "1s"
  197. idleTimeout = "80s"
  198. indexExpire = "24h"
  199. reportExpire = "24h"
  200. userCntExpire = "30s"
  201. userActExpire= "1h"
  202. notifyExpire= "24h"
  203. [rpcClient2]
  204. [rpcClient2.account]
  205. timeout = "1s"
  206. color = "blueandred"
  207. [rpcClient2.filter]
  208. timeout = "1s"
  209. [rpcClient2.location]
  210. timeout = "1s"
  211. [rpcClient2.assist]
  212. timeout = "1s"
  213. [rpcClient2.figure]
  214. timeout = "1s"
  215. [rpcClient2.seq]
  216. timeout = "1s"
  217. [rpcClient2.thumbup]
  218. timeout = "1s"