broadcast-job.toml 744 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # This is a TOML document. Boom
  2. debug = true
  3. [log]
  4. stdout=true
  5. [push]
  6. chan = 16
  7. size = 100
  8. [routine]
  9. chan = 16
  10. size = 100
  11. [room]
  12. batch = 40
  13. signal = "1s"
  14. refresh = "5s"
  15. [rpc]
  16. dial = "1s"
  17. timeout = "1s"
  18. [databus]
  19. key = "170e302355453683"
  20. secret = "3d0e8db7bed0503949e545a469789279"
  21. group = "ZergJob-MainCommunity-S"
  22. topic = "ZergJob-T"
  23. action ="sub"
  24. name = "zerg/service"
  25. proto = "tcp"
  26. addr = "172.18.33.50:6205"
  27. idle = 2
  28. active = 5
  29. offset = "old"
  30. dialTimeout = "1s"
  31. readTimeout = "60s"
  32. writeTimeout = "1s"
  33. idleTimeout = "10s"
  34. expire = "1h"
  35. [discovery]
  36. domain = "api.bilibili.co"
  37. key = "6a29f8ed87407c11"
  38. secret = "d3c5a85f5b895a03735b5d20a273bc57"
  39. env = "dev"
  40. zone = "sh001"