spread-test.toml 653 B

123456789101112131415161718192021222324252627
  1. # This is a TOML document. Boom
  2. [log]
  3. dir = "/data/log/spread"
  4. [bm]
  5. addr = "0.0.0.0:7642"
  6. timeout = "1s"
  7. [HTTPClient]
  8. key = "9cfc54570033cd61"
  9. secret = "9d63835fa38fe58a62d9f49ef5da296f"
  10. dial = "100ms"
  11. timeout = "1s"
  12. keepAlive = "60s"
  13. timer = 128
  14. [HTTPClient.breaker]
  15. window ="10s"
  16. sleep ="10ms"
  17. bucket = 10
  18. ratio = 0.5
  19. request = 100
  20. [[Businesses]]
  21. appkey = "douban"
  22. appSecret = "douban"
  23. [Spread]
  24. BangumiContentURL = "http://uat-bangumi.bilibili.co/ext/internal/archive/channel/content"
  25. BangumiOffURL = "http://uat-bangumi.bilibili.co/ext/internal/archive/channel/content/offshelve"