From 7635dc25bd2a4d565df496b2d96354639966768d Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期四, 25 九月 2025 11:09:44 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/task/ShuttleExecuteScheduler.java | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/main/java/com/zy/core/task/ShuttleExecuteScheduler.java b/src/main/java/com/zy/core/task/ShuttleExecuteScheduler.java
index 4839cb1..df063f7 100644
--- a/src/main/java/com/zy/core/task/ShuttleExecuteScheduler.java
+++ b/src/main/java/com/zy/core/task/ShuttleExecuteScheduler.java
@@ -22,11 +22,6 @@
private RedisUtil redisUtil;
private int threadControlCount;
- @Scheduled(cron = "0/1 * * * * ? ")
- public void execute() {
-
- }
-
public ShuttleExecuteScheduler(ShuttleAction shuttleAction, DeviceConfigService deviceConfigService, RedisUtil redisUtil, int threadControlCount) {
this.shuttleAction = shuttleAction;
this.deviceConfigService = deviceConfigService;
@@ -70,7 +65,7 @@
if (taskNo != 0) {
//瀛樺湪浠诲姟闇�瑕佹墽琛�
long startTime = System.currentTimeMillis();
- News.info("execute {},{}", deviceConfig.getDeviceNo(), taskNo);
+ News.info("[RCS Debug] Execute {},{}", deviceConfig.getDeviceNo(), taskNo);
// 鍦ㄥ惊鐜腑浣跨敤
boolean result = TimeoutExecutor.executeWithTimeout(
() -> shuttleAction.executeWork(deviceConfig.getDeviceNo(), taskNo),
@@ -78,7 +73,7 @@
TimeUnit.SECONDS
);
Thread.sleep(100);
- News.info("execute end {},{},{}", deviceConfig.getDeviceNo(), taskNo, System.currentTimeMillis() - startTime);
+ News.info("[RCS Debug] Execute end {},{},{}", deviceConfig.getDeviceNo(), taskNo, System.currentTimeMillis() - startTime);
}
}
}catch (Exception e){
--
Gitblit v1.9.1