test.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [mysql]
  2. addr = "172.22.34.101:3312"
  3. dsn = "livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-ugift?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  4. #readDSN = ["livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-ugift?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4","livetestuat:livetestuat20180711@tcp(172.22.34.101:3312)/live-ugift?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  5. #dsn = "live:oWni@ElNs0P0C(dphdj*F1y4@tcp(172.16.38.117:3312)/live-ugift?timeout=400ms&readTimeout=400ms&writeTimeout=400ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  6. active = 20
  7. idle = 10
  8. idleTimeout ="4h"
  9. queryTimeout = "800ms"
  10. execTimeout = "800ms"
  11. tranTimeout = "800ms"
  12. [redis]
  13. name = "gift-service"
  14. proto = "tcp"
  15. addr = "127.0.0.1:6379"
  16. idle = 10
  17. active = 10
  18. dialTimeout = "1s"
  19. readTimeout = "1s"
  20. writeTimeout = "1s"
  21. idleTimeout = "10s"
  22. expire = "1m"
  23. [memcache]
  24. name = "gift-service"
  25. proto = "tcp"
  26. addr = ""
  27. active = 50
  28. idle = 10
  29. dialTimeout = "1s"
  30. readTimeout = "1s"
  31. writeTimeout = "1s"
  32. idleTimeout = "10s"
  33. expire = "24h"
  34. [log]
  35. stdout = true
  36. [gift]
  37. enableFilterGift = true
  38. bubbleId = 30027
  39. [liverpc]
  40. [liverpc.room]
  41. Addr = "172.18.33.128:20200"
  42. [liverpc.live_user]
  43. Addr = "172.18.33.128:20206"
  44. [liverpc.user]
  45. Addr = "172.18.33.128:20802"
  46. [liverpc.fans_medal]
  47. Addr = "172.18.33.110:20800"
  48. [liverpc.activity]
  49. Addr = "172.18.33.128:20201"
  50. [infoc]
  51. [infoc.bagLog]
  52. taskID = "000736"
  53. proto = "tcp"
  54. addr = "172.18.33.124:15140"
  55. chanSize = 10240
  56. [databus]
  57. [databus.AddGift]
  58. key = "ec4c0820d525d67b"
  59. secret = "e20f8f664bf10722efeb6aac0cc16011"
  60. group = "LiveAddGift-LiveLive-P"
  61. topic = "LiveAddGift-T"
  62. action = "pub"
  63. name = "xgift/addFreeGift"
  64. proto = "tcp"
  65. addr = "172.18.33.50:6205"
  66. idle = 1
  67. active = 1
  68. dialTimeout = "1s"
  69. readTimeout = "1s"
  70. writeTimeout = "1s"
  71. idleTimeout = "10s"
  72. [titan]
  73. treeID = 1114
  74. expire = 10