test.toml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. [Common]
  2. ExpireTime = 86400
  3. [Log]
  4. Stdout = true
  5. [LRUCache]
  6. InstCnt = 1
  7. Bucket = 1
  8. Capacity = 1024
  9. Timeout = 10
  10. [client]
  11. timeout = "10s"
  12. [mysql]
  13. addr = "172.16.38.158:3312"
  14. dsn = "live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.158:3312)/xanchor?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  15. readDSN = ["live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.158:3312)/xanchor?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  16. active = 20
  17. idle = 10
  18. idleTimeout ="4h"
  19. queryTimeout = "1s"
  20. execTimeout = "1s"
  21. tranTimeout = "2s"
  22. [LiveAppMySQL]
  23. dsn = "live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.158:3312)/live-app?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  24. active = 5
  25. idle = 1
  26. idleTimeout = "4h"
  27. queryTimeout = "1s"
  28. execTimeout = "1s"
  29. tranTimeout = "2s"
  30. [redis]
  31. name = "dao-anchor-service"
  32. proto = "tcp"
  33. addr = "172.16.38.158:6379"
  34. idle = 10
  35. active = 10
  36. dialTimeout = "1s"
  37. readTimeout = "1s"
  38. writeTimeout = "1s"
  39. idleTimeout = "10s"
  40. expire = "1m"
  41. [memcache]
  42. name = "dao-anchor-service"
  43. proto = "tcp"
  44. addr = ""
  45. active = 50
  46. idle = 10
  47. dialTimeout = "1s"
  48. readTimeout = "1s"
  49. writeTimeout = "1s"
  50. idleTimeout = "10s"
  51. expire = "24h"
  52. [liveDanmuSub]
  53. key = "ec4c0820d525d67b"
  54. secret = "e20f8f664bf10722efeb6aac0cc16011"
  55. group = "LiveDanmuSend-LiveLive-Daoanchor-S"
  56. topic = "LiveDanmuSend-T"
  57. action ="sub"
  58. name = "service/dao-anchor"
  59. proto = "tcp"
  60. addr = "172.22.33.174:6205"
  61. idle = 10
  62. active = 100
  63. dialTimeout = "10s"
  64. readTimeout = "40s"
  65. writeTimeout = "10s"
  66. idleTimeout = "60s"
  67. [liveGiftSendByPaySub]
  68. key = "ec4c0820d525d67b"
  69. secret = "e20f8f664bf10722efeb6aac0cc16011"
  70. group = "LiveGiftSendByPay-LiveLive-Daoanchor-S"
  71. topic = "LiveGiftSendByPay-T"
  72. action ="sub"
  73. name = "service/dao-anchor"
  74. proto = "tcp"
  75. addr = "172.22.33.174:6205"
  76. idle = 10
  77. active = 100
  78. dialTimeout = "10s"
  79. readTimeout = "40s"
  80. writeTimeout = "10s"
  81. idleTimeout = "60s"
  82. [liveGiftSendByFreeSub]
  83. key = "ec4c0820d525d67b"
  84. secret = "e20f8f664bf10722efeb6aac0cc16011"
  85. group = "liveGiftSendByFree-LiveLive-Daoanchor-S"
  86. topic = "LiveGiftSendByFree-T"
  87. action ="sub"
  88. name = "service/dao-anchor"
  89. proto = "tcp"
  90. addr = "172.22.33.174:6205"
  91. idle = 10
  92. active = 100
  93. dialTimeout = "10s"
  94. readTimeout = "40s"
  95. writeTimeout = "10s"
  96. idleTimeout = "60s"
  97. [LiveGuardBuySub]
  98. key = "ec4c0820d525d67b"
  99. secret = "e20f8f664bf10722efeb6aac0cc16011"
  100. group = "LiveGuardBuy-LiveLive-Daoanchor-S"
  101. topic = "LiveGuardBuy-T"
  102. action ="sub"
  103. name = "service/dao-anchor"
  104. proto = "tcp"
  105. addr = "172.22.33.174:6205"
  106. idle = 10
  107. active = 100
  108. dialTimeout = "10s"
  109. readTimeout = "40s"
  110. writeTimeout = "10s"
  111. idleTimeout = "60s"
  112. [livePopularitySub]
  113. key = "ec4c0820d525d67b"
  114. secret = "e20f8f664bf10722efeb6aac0cc16011"
  115. group = "LivePopularity-LiveLive-Daoanchor-S"
  116. topic = "LivePopularity-T"
  117. action ="sub"
  118. name = "service/dao-anchor"
  119. proto = "tcp"
  120. addr = "172.22.33.174:6205"
  121. idle = 10
  122. active = 100
  123. dialTimeout = "10s"
  124. readTimeout = "40s"
  125. writeTimeout = "10s"
  126. idleTimeout = "60s"
  127. [liveValidLiveDaysSub]
  128. key = "ec4c0820d525d67b"
  129. secret = "e20f8f664bf10722efeb6aac0cc16011"
  130. group = "LiveValidLiveDays-LiveLive-Daoanchor-S"
  131. topic = "LiveValidLiveDays-T"
  132. action ="sub"
  133. name = "service/dao-anchor"
  134. proto = "tcp"
  135. addr = "172.22.33.174:6205"
  136. idle = 10
  137. active = 100
  138. dialTimeout = "10s"
  139. readTimeout = "40s"
  140. writeTimeout = "10s"
  141. idleTimeout = "60s"
  142. [liveRoomTagSub]
  143. key = "ec4c0820d525d67b"
  144. secret = "e20f8f664bf10722efeb6aac0cc16011"
  145. group = "LiveRoomTag-LiveLive-Daoanchor-S"
  146. topic = "LiveRoomTag-T"
  147. action ="sub"
  148. name = "service/dao-anchor"
  149. proto = "tcp"
  150. addr = "172.22.33.174:6205"
  151. idle = 10
  152. active = 100
  153. dialTimeout = "10s"
  154. readTimeout = "40s"
  155. writeTimeout = "10s"
  156. idleTimeout = "60s"
  157. [liveRankListSub]
  158. key = "ec4c0820d525d67b"
  159. secret = "e20f8f664bf10722efeb6aac0cc16011"
  160. group = "LiveRankList-LiveLive-Daoanchor-S"
  161. topic = "LiveRankList-T"
  162. action ="sub"
  163. name = "service/dao-anchor"
  164. proto = "tcp"
  165. addr = "172.22.33.174:6205"
  166. idle = 10
  167. active = 100
  168. dialTimeout = "10s"
  169. readTimeout = "40s"
  170. writeTimeout = "10s"
  171. idleTimeout = "60s"