docs: Happy New Year

This commit is contained in:
tjq 2024-02-09 11:13:05 +08:00
parent 599d710e27
commit ea919b102f
3 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,9 @@
# English | [简体中文](./README_zhCN.md) # English | [简体中文](./README_zhCN.md)
<p align="center">
🏮PowerJob 全体成员祝大家龙年腾飞,新的一年身体健康,万事如意,阖家欢乐,幸福安康!🏮
</p>
<p align="center"> <p align="center">
<img src="https://raw.githubusercontent.com/KFCFans/PowerJob/master/others/images/logo.png" alt="PowerJob" title="PowerJob" width="557"/> <img src="https://raw.githubusercontent.com/KFCFans/PowerJob/master/others/images/logo.png" alt="PowerJob" title="PowerJob" width="557"/>
</p> </p>

View File

@ -1,5 +1,9 @@
# [English](./README.md) | 简体中文 # [English](./README.md) | 简体中文
<p align="center">
🏮PowerJob 全体成员祝大家龙年腾飞,新的一年身体健康,万事如意,阖家欢乐,幸福安康!🏮
</p>
<p align="center"> <p align="center">
<img src="https://raw.githubusercontent.com/KFCFans/PowerJob/master/others/images/logo.png" alt="PowerJob" title="PowerJob" width="557"/> <img src="https://raw.githubusercontent.com/KFCFans/PowerJob/master/others/images/logo.png" alt="PowerJob" title="PowerJob" width="557"/>
</p> </p>

View File

@ -149,12 +149,7 @@ public class LightTaskTracker extends TaskTracker {
} }
LightTaskTrackerManager.removeTaskTracker(instanceId); LightTaskTrackerManager.removeTaskTracker(instanceId);
// 最后一列为总耗时即占用资源的耗时当前时间减去创建时间 // 最后一列为总耗时即占用资源的耗时当前时间减去创建时间
String msg = String.format("[TaskTracker-%s] remove TaskTracker,task status %s,start time:%s,end time:%s,real cost:%s,total time:%s", instanceId, status, taskStartTime, taskEndTime, taskEndTime != null ? taskEndTime - taskStartTime : "unknown", System.currentTimeMillis() - createTime); log.info("[TaskTracker-{}] remove TaskTracker,task status {},start time:{},end time:{},real cost:{},total time:{}", instanceId, status, taskStartTime, taskEndTime, taskEndTime != null ? taskEndTime - taskStartTime : "unknown", System.currentTimeMillis() - createTime);
if (TaskStatus.WORKER_PROCESS_SUCCESS.equals(status)) {
log.info(msg);
} else {
log.warn(msg);
}
} }
@Override @Override