convey-test.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [bm]
  2. addr = "0.0.0.0:9001"
  3. timeout = "10s"
  4. [httpClient]
  5. key = "c05dd4e1638a8af0"
  6. secret = "7daa7f8c06cd33c5c3067063c746fdcb"
  7. dial = "2s"
  8. timeout = "100s"
  9. keepAlive = "60s"
  10. timer = 1000
  11. [httpClient.breaker]
  12. window = "10s"
  13. sleep = "2000ms"
  14. bucket = 10
  15. ratio = 0.5
  16. request = 100
  17. [mail]
  18. host = "smtp.exmail.qq.com"
  19. port = 465
  20. username = "merlin@bilibili.com"
  21. password = ""
  22. noticeOwner = ["fengyifeng@bilibili.com"]
  23. [memcache]
  24. name = "merlin"
  25. proto = "tcp"
  26. addr = "172.18.33.61:11232"
  27. idle = 5
  28. active = 10
  29. dialTimeout = "1s"
  30. readTimeout = "1s"
  31. writeTimeout = "1s"
  32. idleTimeout = "10s"
  33. expire = "12h"
  34. [bugly]
  35. host = "https://bugly.qq.com"
  36. urlRetryCount = 3
  37. cookieUsageUpper = 300
  38. issuePageSize = 50
  39. issueCountUpper = 100
  40. [Scheduler]
  41. #每过10分钟 更新表
  42. batchRunEnableVersion = "0 */10 * * * ?"
  43. batchRunUpdateTapdBug = "0 */10 * * * ?"
  44. disableBatchRunOverTime = "0 */10 * * * ?"
  45. batchRunOverHourTime = 3
  46. active = false
  47. [orm]
  48. dsn = "root:123456@tcp(172.18.33.130:3306)/Marthe2?timeout=200ms&readTimeout=2000ms&writeTimeout=2000ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  49. active = 5
  50. idle = 5
  51. idleTimeout = "4h"
  52. [auth]
  53. managerHost = "http://uat-manager.bilibili.co"
  54. dashboardHost = "http://dashboard-mng.bilibili.co"
  55. dashboardCaller = "merlin"
  56. [auth.DsHTTPClient]
  57. key = "merlin"
  58. secret = "4fb521f66dfd5efcf6e77d078ed2eb0a"
  59. dial = "1s"
  60. timeout = "1s"
  61. keepAlive = "60s"
  62. [auth.DsHTTPClient.breaker]
  63. window = "3s"
  64. sleep = "100ms"
  65. bucket = 10
  66. ratio = 0.5
  67. request = 100
  68. [auth.MaHTTPClient]
  69. key = "f6433799dbd88751"
  70. secret = "36f8ddb1806207fe07013ab6a77a3935"
  71. dial = "1ms"
  72. timeout = "1ms"
  73. keepAlive = "60s"
  74. [auth.MaHTTPClient.breaker]
  75. window = "3s"
  76. sleep = "100ms"
  77. bucket = 10
  78. ratio = 0.5
  79. request = 100
  80. [auth.session]
  81. sessionIDLength = 32
  82. cookieLifeTime = 1
  83. cookieName = "mng-go"
  84. domain = ".bilibili.co"
  85. [auth.session.Memcache]
  86. name = "go-business/auth"
  87. proto = "tcp"
  88. addr = "172.18.33.61:11232"
  89. active = 10
  90. idle = 10
  91. dialTimeout = "1ms"
  92. readTimeout = "1ms"
  93. writeTimeout = "1ms"
  94. idleTimeout = "80s"