judge.json 625 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "debug": true,
  3. "debugHost": "nil",
  4. "remain": 11,
  5. "http": {
  6. "enabled": true,
  7. "listen": "%%JUDGE_HTTP%%"
  8. },
  9. "rpc": {
  10. "enabled": true,
  11. "listen": "%%JUDGE_RPC%%"
  12. },
  13. "hbs": {
  14. "servers": ["%%HBS_RPC%%"],
  15. "timeout": 300,
  16. "interval": 60
  17. },
  18. "alarm": {
  19. "enabled": true,
  20. "minInterval": 300,
  21. "queuePattern": "event:p%v",
  22. "redis": {
  23. "dsn": "%%REDIS%%",
  24. "maxIdle": 5,
  25. "connTimeout": 5000,
  26. "readTimeout": 5000,
  27. "writeTimeout": 5000
  28. }
  29. }
  30. }