feat(1.5.0-beta1): 修复重试失败设置错误Deleted问题

This commit is contained in:
opensnail 2025-03-26 22:49:03 +08:00
parent d7d151d3c4
commit 85bcb10feb

View File

@ -81,7 +81,6 @@ public class RetryFailureHandler extends AbstractRetryResultHandler {
} else if (context.isIncrementRetryCount()) {
retry.setRetryCount(retry.getRetryCount() + 1);
retry.setUpdateDt(LocalDateTime.now());
retry.setDeleted(retry.getId());
Assert.isTrue(1 == retryMapper.updateById(retry),
() -> new SnailJobServerException("更新重试任务失败. groupName:[{}]", retry.getGroupName()));