passport-auth-service-uat.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [rpcServer2]
  2. [[rpcServer2.servers]]
  3. proto = "tcp"
  4. addr = "0.0.0.0:9009"
  5. weight = 10
  6. [rpcServer2.zookeeper]
  7. root = "/microservice/passport-auth-service/"
  8. addrs = ["172.18.33.50:2199","172.18.33.51:2199","172.18.33.52:2199"]
  9. timeout = "1s"
  10. [mysql]
  11. addr = "172.22.34.101:3308"
  12. dsn = "auth:ABQ3ewVrxyZsLpWb0EkJuCvN9M8aidf7@tcp(172.22.34.101:3308)/passport_auth?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  13. readDSN = ["auth_reader:3odEZJ7YlOLpNzt4XVDxHTw9bi08C1M2@tcp(172.22.34.101:3308)/passport_auth?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  14. active = 10
  15. idle = 10
  16. idleTimeout ="4h"
  17. queryTimeout = "100ms"
  18. execTimeout = "100ms"
  19. tranTimeout = "200ms"
  20. [mysql.breaker]
  21. window = "3s"
  22. sleep = "100ms"
  23. bucket = 10
  24. ratio = 0.5
  25. request = 100
  26. [memcache]
  27. name = "passport-auth-service"
  28. proto = "tcp"
  29. addr = ""
  30. idle = 10
  31. active = 10
  32. dialTimeout = "1s"
  33. readTimeout = "1s"
  34. writeTimeout = "1s"
  35. idleTimeout = "10s"
  36. expire = "24h"
  37. [dc]
  38. num = 1
  39. desc = "data center 1"
  40. [switch]
  41. supportOld = true