convey-test.toml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. [app]
  4. key = "33ac033ce123e999"
  5. secret = "0b2847315d32989a248294e350ac3ede"
  6. [bfs]
  7. #bucket = test
  8. key = "221bce6492eba70f"
  9. secret = "6eb80603e85842542f9736eb13b7e3"
  10. #bucket = blocked
  11. #key = "a45d5d3d38441095"
  12. #secret = "a3690e9e11f7d356a445fe0d4ff8af"
  13. [accClient]
  14. timeout = "3s"
  15. [xlog]
  16. # dir = "/data/log/credit-admin"
  17. stdout = true
  18. # family = "credit-admin"
  19. # [xlog.agent]
  20. # taskID = "000069"
  21. # proto = "unixgram"
  22. # addr = "/var/run/lancer/collector.sock"
  23. # chanSize = 10240
  24. [bm]
  25. addr = "0.0.0.0:6824"
  26. maxListen = 10
  27. timeout = "30s"
  28. [httpClient]
  29. key = "33ac033ce123e999"
  30. secret = "0b2847315d32989a248294e350ac3ede"
  31. dial = "1s"
  32. timeout = "5s"
  33. keepAlive = "60s"
  34. [httpClient.breaker]
  35. window = "3s"
  36. sleep = "100ms"
  37. bucket = 10
  38. ratio = 0.5
  39. request = 100
  40. [rpcClient]
  41. [rpcClient.account]
  42. timeout = "30s"
  43. [rpcClient.relation]
  44. timeout = "30s"
  45. [orm]
  46. [orm.write]
  47. dsn = "blocked:mUdFycLKSbvPgdE28lCveqN77SqsGOmy@tcp(172.16.33.205:3306)/blocked?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  48. active = 5
  49. idle = 5
  50. idleTimeout = "4h"
  51. [orm.read]
  52. dsn = "blocked:mUdFycLKSbvPgdE28lCveqN77SqsGOmy@tcp(172.16.33.205:3306)/blocked?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  53. active = 5
  54. idle = 5
  55. idleTimeout = "4h"
  56. [host]
  57. bfs = "http://172.16.0.141"
  58. manager = "http://manager.bilibili.co"
  59. msg = "http://message.bilibili.co"
  60. #http://bfs.bilibili.co
  61. [chanSize]
  62. sysMsg = 999
  63. [auth]
  64. managerHost = "http://uat-manager.bilibili.co"
  65. dashboardHost = "http://uat-dashboard-mng.bilibili.co"
  66. dashboardCaller = "manager-go"
  67. [auth.DsHTTPClient]
  68. key = "manager-go"
  69. secret = "949bbb2dd3178252638c2407578bc7ad"
  70. dial = "1s"
  71. timeout = "1s"
  72. keepAlive = "60s"
  73. [auth.DsHTTPClient.breaker]
  74. window = "3s"
  75. sleep = "100ms"
  76. bucket = 10
  77. ratio = 0.5
  78. request = 100
  79. [auth.MaHTTPClient]
  80. key = "f6433799dbd88751"
  81. secret = "36f8ddb1806207fe07013ab6a77a3935"
  82. dial = "1s"
  83. timeout = "1s"
  84. keepAlive = "60s"
  85. [auth.MaHTTPClient.breaker]
  86. window = "3s"
  87. sleep = "100ms"
  88. bucket = 10
  89. ratio = 0.5
  90. request = 100
  91. [auth.session]
  92. sessionIDLength = 32
  93. cookieLifeTime = 1800
  94. cookieName = "mng-go"
  95. domain = ".bilibili.co"
  96. [auth.session.Memcache]
  97. name = "go-business/auth"
  98. proto = "tcp"
  99. addr = "172.16.33.54:11211"
  100. active = 10
  101. idle = 10
  102. dialTimeout = "1s"
  103. readTimeout = "1s"
  104. writeTimeout = "1s"
  105. idleTimeout = "80s"