convey-test.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. user = "nobody"
  4. dir = "./"
  5. family = "usersuit-service"
  6. env = "qa"
  7. vipURI = "http://vip.bilibili.co"
  8. payURL = "http://pay.bilibili.com/api/add.pay.order"
  9. notifyURL = "http://account.bilibili.co/api/communicate/purge_cache"
  10. accountIntranetURI = "http://account.bilibili.co"
  11. [host]
  12. accountURI = "https://account.bilibili.com"
  13. messageCo = "http://message.bilibili.co"
  14. [xlog]
  15. dir = "/data/log/usersuit-service"
  16. [payinfo]
  17. MerchantID="1"
  18. MerchantProductID="1"
  19. CallBackURL="http://account.bilibili.com/api/pendant/orderpendantcallback"
  20. [bm]
  21. addr = "0.0.0.0:7261"
  22. maxListen = 1000
  23. timeout = "1s"
  24. [rpcServer]
  25. proto = "tcp"
  26. addr = "0.0.0.0:7269"
  27. [gorpcclient]
  28. [member]
  29. timeout = "1s"
  30. [coin]
  31. timeout = "30s"
  32. [point]
  33. timeout = "30s"
  34. [mysql]
  35. addr = "172.16.33.205:3309"
  36. dsn = "usersuit:cDXL6vncmCQanx4iMgGogu6gYz33NmA1@tcp(172.16.33.205:3309)/usersuit?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  37. active = 100
  38. idle = 10
  39. queryTimeout = "2s"
  40. execTimeout = "10s"
  41. tranTimeout = "5s"
  42. [mysql.breaker]
  43. window = "3s"
  44. sleep = "100ms"
  45. bucket = 10
  46. ratio = 0.5
  47. request = 100
  48. [redis]
  49. name = "usersuit-service"
  50. proto = "tcp"
  51. addr = "172.18.33.61:6888"
  52. idle = 10
  53. active = 10
  54. dialTimeout = "1s"
  55. readTimeout = "1s"
  56. writeTimeout = "1s"
  57. idleTimeout = "10s"
  58. inviteExpire = "30s"
  59. pendantExpire = "24h"
  60. [memcache]
  61. name = "usersuit-service"
  62. proto = "tcp"
  63. addr = "172.18.33.60:11214"
  64. idle = 10
  65. active = 10
  66. dialTimeout = "1s"
  67. readTimeout = "1s"
  68. writeTimeout = "1s"
  69. idleTimeout = "10s"
  70. medalexpire = "720h"
  71. pointexpire = "168h"
  72. [MedalCache]
  73. size = 10000
  74. expire = "3s"
  75. [EquipCache]
  76. size = 10000
  77. expire = "3s"
  78. [httpClient]
  79. key = "837f620f5c0a8010"
  80. secret = "2a9057021014b4b843b635664c69d5df"
  81. dial = "500ms"
  82. timeout = "1s"
  83. keepAlive = "60s"
  84. timer = 10
  85. [httpClient.breaker]
  86. window = "3s"
  87. sleep = "100ms"
  88. bucket = 10
  89. ratio = 0.5
  90. request = 100
  91. [accountNotify]
  92. key = "4ba46ba31f9a44ef"
  93. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  94. group = "AccountNotify-MainAccount-P"
  95. topic = "AccountNotify-T"
  96. action = "pub"
  97. offset = "old"
  98. buffer = 128
  99. name = "usersuit-service/databus"
  100. proto = "tcp"
  101. addr = "172.18.33.50:6205"
  102. active = 1
  103. idle = 1
  104. dialTimeout = "1s"
  105. readTimeout = "1s"
  106. writeTimeout = "1s"
  107. idleTimeout = "10s"