test.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. [HTTPClient]
  2. key = "e7482d29be4a95b8"
  3. secret = "9e803791cdef756e75faee68e12b7442"
  4. dial = "100ms"
  5. timeout = "5s"
  6. keepAlive = "60s"
  7. [HTTPClient.breaker]
  8. window = "3s"
  9. sleep = "100ms"
  10. bucket = 10
  11. ratio = 0.5
  12. request = 100
  13. [Redis]
  14. name = "dm-service"
  15. proto = "tcp"
  16. addr = "172.18.33.171:6379"
  17. idle = 10
  18. active = 10
  19. dialTimeout = "1s"
  20. readTimeout = "1s"
  21. writeTimeout = "1s"
  22. idleTimeout = "10s"
  23. expire = "1m"
  24. [WhiteListRedis]
  25. name = "dm-service"
  26. proto = "tcp"
  27. addr = "172.16.38.166:10028"
  28. idle = 10
  29. active = 10
  30. dialTimeout = "1s"
  31. readTimeout = "1s"
  32. writeTimeout = "1s"
  33. idleTimeout = "10s"
  34. expire = "1m"
  35. [BNJRoomList]
  36. 544641 = true
  37. 2233 = true
  38. [BNDatabus]
  39. key = "ec4c0820d525d67b"
  40. secret = "e20f8f664bf10722efeb6aac0cc16011"
  41. group = "LiveDanmuSend-LiveLive-P"
  42. topic = "LiveDanmuSend-T"
  43. action = "pub"
  44. buffer = 128
  45. name = "live-dm/databus"
  46. proto = "tcp"
  47. addr = "172.16.33.50:6205"
  48. active = 1
  49. idle = 1
  50. dialTimeout = "1s"
  51. readTimeout = "1s"
  52. writeTimeout = "1s"
  53. idleTimeout = "10s"
  54. [CacheDatabus]
  55. Size = 1024
  56. [LiveRPC.bannedService]
  57. AppID = "live.bannedservice"
  58. ConnTimeout = "50ms"
  59. [LiveRPC.room]
  60. AppID = "live.room"
  61. ConnTimeout = "50ms"
  62. [LiveRPC.liveUser]
  63. AppID = "live.liveuser"
  64. ConnTimeout = "50ms"
  65. [LiveRPC.activity]
  66. AppID = "live.activity"
  67. ConnTimeout = "50ms"
  68. [LiveRPC.avService]
  69. AppID = "live.av"
  70. ConnTimeout = "50ms"
  71. [LiveRPC.fansMedal]
  72. AppID = "live.fansmedal"
  73. ConnTimeout = "50ms"
  74. [LiveRPC.rc]
  75. AppID = "live.rc"
  76. ConnTimeout = "50ms"
  77. [LiveRPC.rankdbService]
  78. AppID = "live.rankdb"
  79. ConnTimeout = "50ms"
  80. [LiveRPC.userext]
  81. AppID = "live.userext"
  82. ConnTimeout = "50ms"
  83. [LiveRPC.user]
  84. AppID = "live.user"
  85. ConnTimeout = "50ms"
  86. [DmRules]
  87. AreaLimit = false
  88. RealName = false
  89. PhoneLimit = true
  90. AllUserLimit = false
  91. LevelLimitStatus = false
  92. LevelLimit = -1
  93. MsgLength = 20
  94. DmNum = 20
  95. DMPercent = 25
  96. [DmRules.Nixiang]
  97. [DmRules.Color]
  98. [Lancer.DMsend]
  99. taskID = "000582"
  100. proto = "tcp"
  101. addr = "172.18.33.124:15140"
  102. chanSize = 10240
  103. [Lancer.DMErr]
  104. taskID = "001409"
  105. proto = "tcp"
  106. addr = "172.18.33.124:15140"
  107. chanSize = 10240