relation-test.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # This is a TOML document. Boom
  2. [log]
  3. stdout=true
  4. [orm]
  5. [orm.read]
  6. dsn = "account:wx2U1MwXRyWEuURw@tcp(172.16.33.205:3306)/relation?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  7. active = 20
  8. idle = 10
  9. idleTimeout = "4h"
  10. [auth]
  11. managerHost = "http://uat-manager.bilibili.co"
  12. dashboardHost = "http://uat-dashboard-mng.bilibili.co"
  13. dashboardCaller = "manager-go"
  14. [auth.DsHTTPClient]
  15. key = "manager-go"
  16. secret = "949bbb2dd3178252638c2407578bc7ad"
  17. dial = "1s"
  18. timeout = "1s"
  19. keepAlive = "60s"
  20. [auth.DsHTTPClient.breaker]
  21. window = "3s"
  22. sleep = "100ms"
  23. bucket = 10
  24. ratio = 0.5
  25. request = 100
  26. [auth.MaHTTPClient]
  27. key = "f6433799dbd88751"
  28. secret = "36f8ddb1806207fe07013ab6a77a3935"
  29. dial = "1s"
  30. timeout = "1s"
  31. keepAlive = "60s"
  32. [auth.MaHTTPClient.breaker]
  33. window = "3s"
  34. sleep = "100ms"
  35. bucket = 10
  36. ratio = 0.5
  37. request = 100
  38. [auth.session]
  39. sessionIDLength = 32
  40. cookieLifeTime = 1800
  41. cookieName = "mng-go"
  42. domain = ".bilibili.co"
  43. [auth.session.Memcache]
  44. name = "go-business/auth"
  45. proto = "tcp"
  46. addr = "172.16.33.54:11211"
  47. active = 10
  48. idle = 10
  49. dialTimeout = "1s"
  50. readTimeout = "1s"
  51. writeTimeout = "1s"
  52. idleTimeout = "80s"
  53. [RelationGRPC]
  54. timeout="3s"
  55. [AccountGRPC]
  56. timeout="3s"
  57. [loghbase]
  58. master = ""
  59. meta = ""
  60. dialTimeout = "1s"
  61. readTimeout = "10s"
  62. readsTimeout = "10s"
  63. writeTimeout = "10s"
  64. writesTimeout = "10s"
  65. [loghbase.zookeeper]
  66. root = ""
  67. addrs =["bigdata-test-02:2181","bigdata-test-03:2181","bigdata-test-04:2181"]
  68. timeout = "30s"