convey-test.toml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. version = "1.0.0"
  2. NotifyURL = "http://account.bilibili.co/api/communicate/purge_cache"
  3. [xlog]
  4. dir = "/data/log/usersuit-job/"
  5. [app]
  6. key = "53e2fa226f5ad348"
  7. secret = "3cf6bd1b0ff671021da5f424fea4b04a"
  8. [bm]
  9. addr = "0.0.0.0:7265"
  10. timeout = "1s"
  11. [mysql]
  12. addr = "172.16.33.205:3309"
  13. dsn = "usersuit:cDXL6vncmCQanx4iMgGogu6gYz33NmA1@tcp(172.16.33.205:3309)/usersuit?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  14. active = 100
  15. idle = 10
  16. queryTimeout = "2s"
  17. execTimeout = "10s"
  18. tranTimeout = "5s"
  19. [mysql.breaker]
  20. window = "3s"
  21. sleep = "100ms"
  22. bucket = 10
  23. ratio = 0.5
  24. request = 100
  25. [memcache]
  26. name = "usersuit-job"
  27. proto = "tcp"
  28. addr = "172.16.33.54:6379"
  29. idle = 100
  30. active = 100
  31. dialTimeout = "1s"
  32. readTimeout = "1s"
  33. writeTimeout = "1s"
  34. idleTimeout = "10s"
  35. [pendantRedis]
  36. name = "usersuit-service"
  37. proto = "tcp"
  38. addr = "127.0.0.1:6558"
  39. idle = 100
  40. active = 100
  41. dialTimeout = "1s"
  42. readTimeout = "1s"
  43. writeTimeout = "1s"
  44. idleTimeout = "10s"
  45. expire = "720h"
  46. [httpClient]
  47. key = "53e2fa226f5ad348"
  48. secret = "3cf6bd1b0ff671021da5f424fea4b04a"
  49. dial = "500ms"
  50. timeout = "1s"
  51. keepAlive = "60s"
  52. timer = 10
  53. [httpClient.breaker]
  54. window = "3s"
  55. sleep = "100ms"
  56. bucket = 10
  57. ratio = 0.5
  58. request = 100
  59. [properties]
  60. upInfoURL = "http//127.0.0.1"
  61. medalCron = "0 0 5 ? * ?"
  62. [databus]
  63. [databus.vipBinLog]
  64. key = "4ba46ba31f9a44ef"
  65. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  66. group = "BiliVIPBinlog-MainAccount-UsersuitJob-S"
  67. topic = "BiliVIPBinlog-T"
  68. action = "sub"
  69. offset = "old"
  70. buffer = 1024
  71. name = "usersuit-job/databus"
  72. proto = "tcp"
  73. addr = "172.18.33.50:6205"
  74. idle = 1
  75. active = 1
  76. dialTimeout = "1s"
  77. readTimeout = "60s"
  78. writeTimeout = "1s"
  79. idleTimeout = "10s"
  80. [databus.accountNotify]
  81. key = "4ba46ba31f9a44ef"
  82. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  83. group = "AccountNotify-MainAccount-P"
  84. topic = "AccountNotify-T"
  85. action = "pub"
  86. offset = "old"
  87. buffer = 128
  88. name = "usersuit-job/databus"
  89. proto = "tcp"
  90. addr = "172.18.33.50:6205"
  91. active = 1
  92. idle = 1
  93. dialTimeout = "1s"
  94. readTimeout = "1s"
  95. writeTimeout = "1s"
  96. idleTimeout = "10s"