test.toml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. [log]
  2. stdout=true
  3. [liveUserMysql]
  4. addr = "172.16.38.117:3312"
  5. dsn = "live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.117:3312)/live-user?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  6. readDSN = ["live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.117:3312)/live-user?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  7. active = 20
  8. idle = 10
  9. idleTimeout ="4h"
  10. queryTimeout = "5s"
  11. execTimeout = "5s"
  12. tranTimeout = "5s"
  13. [UserExpMySQL]
  14. addr = "172.22.34.101:3312"
  15. dsn = "livetestuat:livetestuat20180711/live_user_exp?timeout=2s&readTimeout=2s&writeTimeout=2s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  16. readDSN = ["livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live_user_exp?timeout=2s&readTimeout=2s&writeTimeout=2s&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  17. active = 20
  18. idle = 10
  19. idleTimeout ="4h"
  20. queryTimeout = "2s"
  21. execTimeout = "2s"
  22. tranTimeout = "5s"
  23. [ExpMemcache]
  24. name = "xuser-service"
  25. proto = "tcp"
  26. addr = "172.18.33.82:11211"
  27. active = 50
  28. idle = 10
  29. dialTimeout = "1s"
  30. readTimeout = "1s"
  31. writeTimeout = "1s"
  32. idleTimeout = "10s"
  33. expire = "24h"
  34. [Switch]
  35. QueryExp = 1
  36. [UserExpExpire]
  37. ExpireTime = 86400
  38. [vipRedis]
  39. name = "xuser-vip-redis"
  40. proto = "tcp"
  41. addr = "127.0.0.1:6379"
  42. idle = 10
  43. active = 10
  44. dialTimeout = "1s"
  45. readTimeout = "1s"
  46. writeTimeout = "1s"
  47. idleTimeout = "10s"
  48. expire = "1m"
  49. [guardRedis]
  50. name = "xuser-vip-redis"
  51. proto = "tcp"
  52. addr = "127.0.0.1:6379"
  53. idle = 10
  54. active = 10
  55. dialTimeout = "1s"
  56. readTimeout = "1s"
  57. writeTimeout = "1s"
  58. idleTimeout = "10s"
  59. expire = "1m"
  60. [bmClient]
  61. key = "837f620f5c0a8010"
  62. secret = "2a9057021014b4b843b635664c69d5df"
  63. dial = "500ms"
  64. timeout = "1s"
  65. keepAlive = "60s"
  66. [httpClient.breaker]
  67. window = "3s"
  68. sleep = "100ms"
  69. bucket = 10
  70. ratio = 0.5
  71. request = 100
  72. [liveRPC]
  73. [liverpc.room]
  74. AppID = "live.room"
  75. ConnTimeout = "50ms"
  76. Addr = "172.18.33.82:20200"
  77. [liverpc.user]
  78. AppID = "live.user"
  79. ConnTimeout = "50ms"
  80. Addr = "172.18.33.82:20802"
  81. [liverpc.banned]
  82. AppID = "live.banned"
  83. ConnTimeout = "50ms"
  84. Addr = "172.18.33.82:20822"
  85. [liverpc.fans_medal]
  86. AppID = "live.fansmedal"
  87. ConnTimeout = "50ms"
  88. Addr = "172.18.33.82:20800"
  89. [liveVipChangePub]
  90. key = "ec4c0820d525d67b"
  91. secret = "2bdf3bd4ecab041b5d5640a1da4f7f81"
  92. group = "LiveVipChange-LiveLive-P"
  93. topic = "LiveVipChange-T"
  94. action = "pub"
  95. buffer = 128
  96. name = "xuser-vip/databus"
  97. proto = "tcp"
  98. addr = "172.16.33.158:6205"
  99. active = 1
  100. idle = 1
  101. dialTimeout = "1s"
  102. readTimeout = "1s"
  103. writeTimeout = "1s"
  104. idleTimeout = "10s"
  105. [liveEntryEffectPub]
  106. key = "ec4c0820d525d67b"
  107. secret = "e20f8f664bf10722efeb6aac0cc16011"
  108. group = "LiveEntryEffect-LiveLive-P"
  109. topic = "LiveEntryEffect-T"
  110. action = "pub"
  111. buffer = 128
  112. name = "xuser-guard/databus"
  113. proto = "tcp"
  114. addr = "172.18.33.50:6205"
  115. active = 1
  116. idle = 1
  117. dialTimeout = "1s"
  118. readTimeout = "1s"
  119. writeTimeout = "1s"
  120. idleTimeout = "10s"
  121. [liveAppMySQL]
  122. addr = "172.22.34.101:3312"
  123. dsn = "livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-app?timeout=2s&readTimeout=2s&writeTimeout=2s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  124. readDSN = ["live:livetestuat20180711@tcp(172.22.34.101:3312)/live-app?timeout=2s&readTimeout=2s&writeTimeout=2s&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  125. active = 20
  126. idle = 10
  127. idleTimeout ="4h"
  128. queryTimeout = "2s"
  129. execTimeout = "2s"
  130. tranTimeout = "5s"
  131. [liveAppORM]
  132. addr = "172.22.34.101:3312"
  133. dsn = "livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-app?timeout=2s&readTimeout=2s&writeTimeout=2s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  134. readDSN = ["live:livetestuat20180711@tcp(172.22.34.101:3312)/live-app?timeout=2s&readTimeout=2s&writeTimeout=2s&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  135. active = 20
  136. idle = 10
  137. idleTimeout ="4h"
  138. queryTimeout = "2s"
  139. execTimeout = "2s"
  140. tranTimeout = "5s"
  141. [redis]
  142. name = "xuser-redis"
  143. proto = "tcp"
  144. addr = "127.0.0.1:6379"
  145. idle = 10
  146. active = 10
  147. dialTimeout = "1s"
  148. readTimeout = "1s"
  149. writeTimeout = "1s"
  150. idleTimeout = "10s"
  151. expire = "1m"
  152. [memcache]
  153. name = "xuser-memcache"
  154. proto = "tcp"
  155. addr = "127.0.0.1:11211"
  156. active = 50
  157. idle = 10
  158. dialTimeout = "1s"
  159. readTimeout = "1s"
  160. writeTimeout = "1s"
  161. idleTimeout = "10s"
  162. expire = "24h"