spring定时任务只开启一个线程去工作也就是串行工作,定时调度任务出现阻塞导致线程终止

加上这个试试

<!-- <task:annotation-driven /> -->
	<task:annotation-driven scheduler="scheduler" executor="executor"/>
	<!-- 调度线程池的大小 -->
	<task:scheduler />
	<task:executor  />

  

相关文章:

  • 2021-04-16
  • 2023-03-06
  • 2021-10-05
  • 2021-07-25
  • 2021-09-04
  • 2021-05-06
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2021-11-19
  • 2021-05-16
  • 2022-12-23
  • 2021-08-07
  • 2021-05-14
  • 2022-12-23
  • 2021-12-15
相关资源
相似解决方案