figure-service-test.toml 860 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. version = "1.0.3"
  2. [log]
  3. dir = "/data/log/figure-service"
  4. [bm]
  5. addr = "0.0.0.0:7062"
  6. timeout = "1s"
  7. maxListen = 100
  8. [mysql]
  9. addr = "172.16.33.54:3306"
  10. dsn = "test:test@tcp(172.16.33.54:3306)/bilibili_figure?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  11. active = 5
  12. idle = 2
  13. queryTimeout = "100ms"
  14. execTimeout = "100ms"
  15. tranTimeout = "200ms"
  16. [mysql.breaker]
  17. window = "3s"
  18. sleep = "100ms"
  19. bucket = 10
  20. ratio = 0.5
  21. request = 100
  22. [redis]
  23. name = "figure-service"
  24. proto = "tcp"
  25. addr = "172.16.33.54:6379"
  26. idle = 100
  27. active = 100
  28. dialTimeout = "1s"
  29. readTimeout = "1s"
  30. writeTimeout = "1s"
  31. idleTimeout = "10s"
  32. expire = "720h"
  33. [rpcServer]
  34. addr = "0.0.0.0:7069"
  35. proto = "tcp"
  36. [property]
  37. loadRankPeriod = "1m"