test.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [redis]
  2. name = "xcaptcha"
  3. proto = "tcp"
  4. addr = "127.0.0.1:6379"
  5. idle = 10
  6. active = 10
  7. dialTimeout = "1s"
  8. readTimeout = "1s"
  9. writeTimeout = "1s"
  10. idleTimeout = "10s"
  11. expire = "1m"
  12. [databus]
  13. [databus.captchaAnti]
  14. key = "ec4c0820d525d67b"
  15. secret= "e20f8f664bf10722efeb6aac0cc16011"
  16. group = "CaptchaAnti-LiveLive-P"
  17. topic = "CaptchaAnti-T"
  18. action = "pub"
  19. buffer = 1024
  20. name = "live.xcaptcha"
  21. proto = "tcp"
  22. addr = "172.18.33.50:6205"
  23. idle = 1
  24. active = 1
  25. dialTimeout = "1s"
  26. readTimeout = "60s"
  27. writeTimeout = "1s"
  28. idleTimeout = "10s"
  29. [geeTest]
  30. on = 1
  31. id = "902f4c9b1b89198603fd65bf5a72553e"
  32. key = "1e37837a105a80fb52150ad2d72bc114"
  33. Timeout = 500
  34. Qps = 100
  35. Slice = 10
  36. [geeTest.Get]
  37. Timeout = 400
  38. KeepAlive = 60
  39. [geeTest.Post]
  40. Timeout = 50
  41. KeepAlive = 60
  42. [logStream]
  43. LogId = "001741"
  44. Token = "1234567844"
  45. Address = "172.18.33.125:15140"
  46. Capacity = 10240
  47. Timeout = "5s"
  48. [liverpc]
  49. [liverpc.captcha]
  50. Addr = "172.22.37.80:20825"
  51. [log]
  52. stdout = true