automation-dev.properties 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #quartz配置线程池
  2. org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
  3. org.quartz.threadPool.threadCount=100
  4. #quartz配置线程优先级(1-9)
  5. org.quartz.threadPool.threadPriority=5
  6. org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
  7. #JobStore配置
  8. org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
  9. #quartz配置任务执行超时
  10. org.quartz.jobStore.misfireThreshold=120000
  11. #Skip Check Update
  12. #update:true
  13. #not update:false
  14. org.quartz.scheduler.skipUpdateCheck=true
  15. #配置trigger执行历史日志
  16. org.quartz.plugin.triggHistory.class=org.quartz.plugins.history.LoggingTriggerHistoryPlugin
  17. org.quartz.plugin.triggHistory.triggerFiredMessage=Trigger {1}.{0} fired job {6}.{5} at: {4, date, HH:mm:ss MM/dd/yyyy}
  18. org.quartz.plugin.triggHistory.triggerCompleteMessage=Trigger {1}.{0} completed firing job {6}.{5} at {4, date, HH:mm:ss MM/dd/yyyy} with resulting trigger instruction code: {9}
  19. #ShutdownHookPlugin插件的配置样例
  20. org.quartz.plugin.shutdownhook.class=org.quartz.plugins.management.ShutdownHookPlugin
  21. org.quartz.plugin.shutdownhook.cleanShutdown=true
  22. #quartz配置守护任务触发器延时
  23. org.quartz.defendTrigger.delay=30000
  24. #quartz配置守护任务触发器时间规则,秒-分-时 天-月-周-年
  25. #org.quartz.defendTrigger.cron=0 0/10 23 * * ? *
  26. org.quartz.defendTrigger.cron=0 0/10 * * * ? *
  27. #配置HttpClient连接超时8s
  28. automation.server.httpclient.connectTimeout=240000
  29. #配置HttpClient读取超时4s
  30. automation.server.httpclient.socketTimeout=120000
  31. #配置HttpClient连接池获取连接实例的超时4s
  32. automation.server.httpclient.connectRequestTimeout=60000
  33. #配置HttpClient最大重连数,默认5次
  34. automation.server.httpclient.maxRedirects=5
  35. #配置HttpClient连接池大小
  36. automation.server.httpclient.poolSize=40
  37. #配置HttpClient字符集
  38. automation.server.httpclient.charset=UTF-8
  39. #登陆url
  40. automation.server.loginURL=http://10.128.151.139:443/services/system/security/login
  41. #登陆名
  42. automation.server.loginName=admin
  43. #登陆密码
  44. automation.server.password=123456
  45. #配置prometheus监控URL
  46. automation.server.prometheus.url=http://10.110.200.178:9090/api/v1/query_range
  47. #配置prometheus受监控主机实例名
  48. automation.server.prometheus.name=container
  49. #配置prometheus受监控主机端口
  50. automation.server.prometheus.port=9100
  51. #配置prometheus受监控主机网速监控device规则(en开头)
  52. automation.server.prometheus.device=en.%2B
  53. #配置prometheus网络监控时长(默认监控device驱动,输出时长45s)
  54. automation.server.prometheus.times=45