app-wall-test.toml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. user = "nobody"
  4. pid = "/tmp/app-wall.pid"
  5. dir = "./"
  6. family = "app-wall"
  7. checkFile = "/data/www/wall.html"
  8. tick = "1m"
  9. [unicomuserInfoc2]
  10. taskID = "000242"
  11. proto = "tcp"
  12. addr = ""
  13. chanSize = 10240
  14. [unicomipInfoc2]
  15. taskID = "000243"
  16. proto = "tcp"
  17. addr = ""
  18. chanSize = 10240
  19. [unicomPackInfoc]
  20. taskID = "000918"
  21. proto = "tcp"
  22. addr = ""
  23. chanSize = 10240
  24. [host]
  25. apiCo = "http://uat-api.bilibili.co"
  26. dotin = "http://svr.dotinapp.com"
  27. live = "http://inner.live.bilibili.co"
  28. apiLive = "http://api.live.bilibili.co"
  29. telecom = "https://open.fg.21cn.com"
  30. unicom = "http://123.125.99.7:9001"
  31. unicomFlow = "http://open.10010.com"
  32. broadband = "http://114.255.201.238:8092"
  33. sms = "http://uat-api.bilibili.co"
  34. mall = "http://uat-mall.bilibili.co"
  35. telecomReturnURL = "http://www.bilibili.com/blackboard/preview/activity-telecom2017.html?biliStatus=1"
  36. telecomCancelPayURL = "http://www.bilibili.com/blackboard/preview/activity-telecom2017.html"
  37. [log]
  38. Dir = "/data/log/app-wall/"
  39. [log.syslog]
  40. project = "app-wall"
  41. proto = "udp"
  42. addr = "172.18.19.22:9999"
  43. chansize = 10240
  44. [statsd]
  45. project = "app-wall"
  46. addr = "172.18.20.15:8200"
  47. chanSize = 1024
  48. [app]
  49. key = "e7482d29be4a95b8"
  50. secret = "9e803791cdef756e75faee68e12b7442"
  51. [httpClient]
  52. key = "e7482d29be4a95b8"
  53. secret = "9e803791cdef756e75faee68e12b7442"
  54. dial = "500ms"
  55. timeout = "2s"
  56. keepAlive = "60s"
  57. timer = 10
  58. [httpClient.breaker]
  59. window = "3s"
  60. sleep = "100ms"
  61. bucket = 10
  62. ratio = 0.5
  63. request = 100
  64. [httpTelecom]
  65. key = "e7482d29be4a95b8"
  66. secret = "9e803791cdef756e75faee68e12b7442"
  67. dial = "500ms"
  68. timeout = "50s"
  69. keepAlive = "60s"
  70. timer = 10
  71. [httpTelecom.breaker]
  72. window = "3s"
  73. sleep = "100ms"
  74. bucket = 10
  75. ratio = 0.5
  76. request = 100
  77. [HTTPBroadband]
  78. key = "e7482d29be4a95b8"
  79. secret = "9e803791cdef756e75faee68e12b7442"
  80. dial = "500ms"
  81. timeout = "4s"
  82. keepAlive = "60s"
  83. timer = 10
  84. [HTTPBroadband.breaker]
  85. window = "3s"
  86. sleep = "100ms"
  87. bucket = 10
  88. ratio = 0.5
  89. request = 100
  90. [HTTPUnicom]
  91. key = "e7482d29be4a95b8"
  92. secret = "9e803791cdef756e75faee68e12b7442"
  93. dial = "500ms"
  94. timeout = "4s"
  95. keepAlive = "60s"
  96. timer = 10
  97. [HTTPUnicom.breaker]
  98. window = "3s"
  99. sleep = "100ms"
  100. bucket = 10
  101. ratio = 0.5
  102. request = 100
  103. [httpActive]
  104. key = "e7482d29be4a95b8"
  105. secret = "9e803791cdef756e75faee68e12b7442"
  106. dial = "500ms"
  107. timeout = "2s"
  108. keepAlive = "60s"
  109. timer = 10
  110. [httpActive.breaker]
  111. window = "3s"
  112. sleep = "100ms"
  113. bucket = 10
  114. ratio = 0.5
  115. request = 100
  116. [bm]
  117. [bm.outer]
  118. addr = "0.0.0.0:6251"
  119. timeout = "5s"
  120. readTimeout = "5s"
  121. writeTimeout = "5s"
  122. [mysql]
  123. [mysql.show]
  124. addr = "172.16.33.205:3308"
  125. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_show?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  126. active = 5
  127. idle = 2
  128. idleTimeout ="4h"
  129. queryTimeout = "1s"
  130. execTimeout = "1s"
  131. tranTimeout = "1s"
  132. [mysql.show.breaker]
  133. window = "3s"
  134. sleep = "100ms"
  135. bucket = 10
  136. ratio = 0.5
  137. request = 100
  138. [seq]
  139. businessID =1
  140. token ="Y1zHA2esXfd2T6bc1VRHkFWryD01Aswi"
  141. [seqRPC]
  142. pullInterval = "10s"
  143. timeout = "200ms"
  144. [iplimit]
  145. mobileIPFile = "/data/conf/operate/mobileip.txt"
  146. [iplimit.addrs]
  147. unicom = ["127.0.0.1", "111.206.133.54", "114.255.201.224", "111.206.133.34", "111.8.57.60", "111.197.4.233"]
  148. telecom = ["127.0.0.1"]
  149. [redis]
  150. [redis.recommend]
  151. name = "app-show/recommend"
  152. proto = "tcp"
  153. addr = "172.16.33.54:6380"
  154. active = 20
  155. idle = 10
  156. dialTimeout = "50ms"
  157. readTimeout = "100ms"
  158. writeTimeout = "100ms"
  159. idleTimeout = "80s"
  160. expire = "2h"
  161. [memcache]
  162. [memcache.operator]
  163. name = "app-show/archive"
  164. proto = "tcp"
  165. addr = "172.16.33.54:11213"
  166. active = 50
  167. idle = 10
  168. dialTimeout = "50ms"
  169. readTimeout = "100ms"
  170. writeTimeout = "100ms"
  171. idleTimeout = "80s"
  172. expire = "1s"
  173. [reddot]
  174. starttime="2018-02-26 00:00:00"
  175. endtime="2028-02-26 00:00:00"
  176. [unicom]
  177. keyExpired = "1s"
  178. flowWait = "60s"
  179. [telecom]
  180. keyExpired = "5m"
  181. payKeyExpired = "5m"
  182. smsTemplate = "app-wall-01"
  183. smsMsgTemplate = "app-wall-04"
  184. smsFlowTemplate = "app-wall-03"
  185. smsOrderTemplateOK = "app-wall-02"
  186. flowPercentage = 10
  187. [telecom.area]
  188. area=["CN50","CN44","CN31","CN43","CN14","CN13","CN45","CN35","CN37","CN46","CN64","CN23","CN62","CN63","CN15","CN21","CN41","CN36","CN12","CN42","CN53"]
  189. # 重庆 CN50
  190. # 广东 CN44
  191. # 上海 CN31
  192. # 湖南 CN43
  193. # 山西 CN14
  194. # 河北 CN13
  195. # 广西 CN45
  196. # 福建 CN35
  197. # 山东 CN37
  198. # 海南 CN46
  199. # 宁夏 CN64
  200. # 黑龙江 CN23
  201. # 甘肃 CN62
  202. # 青海 CN63
  203. # 内蒙 CN15
  204. # 辽宁 CN21
  205. # 河南 CN41
  206. # 江西 CN36
  207. # 天津 CN12
  208. # 湖北 CN42
  209. # 云南 CN53