From 190201789934d7b2b4344e0eba6b4a0c2e38f54e Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 27 八月 2025 14:34:32 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/impl/NyShuttleThread.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
index aba6db6..e167988 100644
--- a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
+++ b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
@@ -762,13 +762,15 @@
 
     @Override
     public synchronized boolean setTaskNo(Integer taskNo) {
+        redisUtil.set(RedisKeyType.SHUTTLE_FLAG.key + shuttleProtocol.getShuttleNo(), taskNo);
         this.shuttleProtocol.setTaskNo(taskNo);
         return true;
     }
 
     @Override
     public synchronized boolean setSyncTaskNo(Integer taskNo) {
-        this.shuttleProtocol.setSyncTaskNo(taskNo);
+        redisUtil.setSync(RedisKeyType.SHUTTLE_FLAG.key + shuttleProtocol.getShuttleNo(), taskNo);
+        this.shuttleProtocol.setTaskNo(taskNo);
         return true;
     }
 

--
Gitblit v1.9.1