manager-admin-test.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. version = "1.0.0"
  2. user = "nobody"
  3. pid = "/tmp/manager-admin.pid"
  4. dir = "./"
  5. unameTicker = "1m"
  6. [log]
  7. dir = "/data/log/manager-admin/"
  8. [HTTPServer]
  9. addr = "0.0.0.0:6683"
  10. timeout = "1s"
  11. [httpClient]
  12. key = "6aa4286456d16b97"
  13. secret = "351cf022e1ae8296109c3c524faafcc8"
  14. dial = "50ms"
  15. timeout = "3s"
  16. [dsbClient]
  17. key = "manager-go"
  18. secret = "949bbb2dd3178252638c2407578bc7ad"
  19. dial = "300ms"
  20. timeout = "1s"
  21. [orm]
  22. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_manager?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  23. active = 5
  24. idle = 5
  25. idleTimeout = "4h"
  26. [cfg]
  27. rankGroupMaxPs = 10
  28. [permit]
  29. [permit.Memcache]
  30. name = "go-business/auth"
  31. proto = "tcp"
  32. addr = "172.18.33.61:11232"
  33. active = 10
  34. idle = 10
  35. dialTimeout = "1s"
  36. readTimeout = "1s"
  37. writeTimeout = "1s"
  38. idleTimeout = "80s"
  39. [memcache]
  40. name = "go-business/auth"
  41. proto = "tcp"
  42. addr = "172.18.33.61:11232"
  43. active = 10
  44. idle = 10
  45. dialTimeout = "1s"
  46. readTimeout = "1s"
  47. writeTimeout = "1s"
  48. idleTimeout = "80s"