1
0

alarm.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "log_level": "debug",
  3. "http": {
  4. "enabled": true,
  5. "listen": "0.0.0.0:9912"
  6. },
  7. "redis": {
  8. "addr": "%%REDIS%%",
  9. "maxIdle": 5,
  10. "highQueues": [
  11. "event:p0",
  12. "event:p1",
  13. "event:p2"
  14. ],
  15. "lowQueues": [
  16. "event:p3",
  17. "event:p4",
  18. "event:p5",
  19. "event:p6"
  20. ],
  21. "userIMQueue": "/queue/user/im",
  22. "userSmsQueue": "/queue/user/sms",
  23. "userMailQueue": "/queue/user/mail"
  24. },
  25. "api": {
  26. "im": "http://127.0.0.1:10086/wechat",
  27. "sms": "http://127.0.0.1:10086/sms",
  28. "mail": "http://127.0.0.1:10086/mail",
  29. "dashboard": "http://127.0.0.1:8081",
  30. "plus_api":"http://127.0.0.1:8080",
  31. "plus_api_token": "%%PLUS_API_DEFAULT_TOKEN%%"
  32. },
  33. "falcon_portal": {
  34. "addr": "%%MYSQL%%/alarms?charset=utf8&loc=Local",
  35. "idle": 10,
  36. "max": 100
  37. },
  38. "worker": {
  39. "im": 10,
  40. "sms": 10,
  41. "mail": 50
  42. },
  43. "housekeeper": {
  44. "event_retention_days": 7,
  45. "event_delete_batch": 100
  46. }
  47. }