feat: 2.6.0

1. 优化滑动窗口
This commit is contained in:
byteblogs168 2024-01-24 18:36:34 +08:00
parent 22bf6d0dd4
commit ccb422554a

View File

@ -64,8 +64,8 @@ public class JobExecutorFutureCallback implements FutureCallback<ExecuteResult>
} catch (Exception e) {
EasyRetryLog.REMOTE.error("执行结果上报异常.[{}]", jobContext.getTaskId(), e);
} finally {
stopThreadPool();
ThreadLocalLogUtil.removeContext();
stopThreadPool();
}
}
@ -92,8 +92,8 @@ public class JobExecutorFutureCallback implements FutureCallback<ExecuteResult>
} catch (Exception e) {
EasyRetryLog.REMOTE.error("执行结果上报异常.[{}]", jobContext.getTaskId(), e);
} finally {
stopThreadPool();
ThreadLocalLogUtil.removeContext();
stopThreadPool();
}
}