open-job/openjob

延迟任务-超时时间不生效

Closed this issue · 1 comments

System (please complete the following information):

  • OS: linux [e.g. linux, macOS, windows]
  • JAVA Version: 1.13 [e.g. 1.13]
  • Pkg Version: 1.1.1 [e.g. 1.1.1]

Describe the bug

openjob管理后台创建延迟任务,然后更新任务的超时时间,测试结果:任务达到设定的超时时间后,并没有终止掉这个任务,仍在继续执行,最后执行成功了。

To Reproduce

// java code

Expected behavior
排查了下,db中的延迟任务配置跟缓存的不一致,可能是更新任务配置的时候,未处理缓存

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

stelin commented

Fixed at 1.0.2