From aa33e56e37cd19b88ae8eea69c5ebc7c6da8b1d2 Mon Sep 17 00:00:00 2001 From: Administrator <pjb> Date: 星期四, 05 六月 2025 17:59:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/glccwcs' into glccwcs --- src/main/java/com/zy/core/cache/MessageQueue.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/core/cache/MessageQueue.java b/src/main/java/com/zy/core/cache/MessageQueue.java index cf6e475..f5385e7 100644 --- a/src/main/java/com/zy/core/cache/MessageQueue.java +++ b/src/main/java/com/zy/core/cache/MessageQueue.java @@ -1,6 +1,5 @@ package com.zy.core.cache; -import com.zy.asrs.utils.CommandUtils; import com.zy.core.Slave; import com.zy.core.enums.SlaveType; import com.zy.core.model.Task; @@ -62,7 +61,6 @@ * 濡傛灉鍙戠幇闃熷垪宸叉弧鏃犳硶娣诲姞鐨勮瘽锛屼細鐩存帴杩斿洖false銆� */ public static boolean offer(SlaveType type, Integer id, Task task) { - CommandUtils.offer(type, id, task); switch (type) { case Crn: return CRN_EXCHANGE.get(id).offer(task); @@ -126,10 +124,10 @@ } } - public static void clear(SlaveType type, Integer id){ + public static void clear(SlaveType type, Integer id) { switch (type) { case Crn: - + CRN_EXCHANGE.get(id).clear(); break; case Devp: -- Gitblit v1.9.1