From 2c7d90e49dae06e9a25b1331835222c3da4af4f6 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Wed, 10 Sep 2025 11:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=98=9F=E5=88=97=E5=86=97?= =?UTF-8?q?=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/command/WechatMomentsCommand.php | 1 - Server/application/command/WorkbenchGroupCreateCommand.php | 1 - Server/application/command/WorkbenchGroupPushCommand.php | 1 - Server/application/command/WorkbenchMomentsCommand.php | 1 - 4 files changed, 4 deletions(-) diff --git a/Server/application/command/WechatMomentsCommand.php b/Server/application/command/WechatMomentsCommand.php index b10a64a5..d305334a 100644 --- a/Server/application/command/WechatMomentsCommand.php +++ b/Server/application/command/WechatMomentsCommand.php @@ -35,7 +35,6 @@ class WechatMomentsCommand extends Command // 检查队列是否已经在运行 $queueLockKey = "queue_lock:{$this->queueName}"; - Cache::rm($queueLockKey); if (Cache::get($queueLockKey)) { $output->writeln("队列 {$this->queueName} 已经在运行中,跳过执行"); Log::warning("队列 {$this->queueName} 已经在运行中,跳过执行"); diff --git a/Server/application/command/WorkbenchGroupCreateCommand.php b/Server/application/command/WorkbenchGroupCreateCommand.php index daa70309..df531850 100644 --- a/Server/application/command/WorkbenchGroupCreateCommand.php +++ b/Server/application/command/WorkbenchGroupCreateCommand.php @@ -34,7 +34,6 @@ class WorkbenchGroupCreateCommand extends Command // 检查队列是否已经在运行 $queueLockKey = "queue_lock:{$this->queueName}"; - Cache::rm($queueLockKey); if (Cache::get($queueLockKey)) { $output->writeln("队列 {$this->queueName} 已经在运行中,跳过执行"); Log::warning("队列 {$this->queueName} 已经在运行中,跳过执行"); diff --git a/Server/application/command/WorkbenchGroupPushCommand.php b/Server/application/command/WorkbenchGroupPushCommand.php index 59c70ddc..6fd1fde7 100644 --- a/Server/application/command/WorkbenchGroupPushCommand.php +++ b/Server/application/command/WorkbenchGroupPushCommand.php @@ -34,7 +34,6 @@ class WorkbenchGroupPushCommand extends Command // 检查队列是否已经在运行 $queueLockKey = "queue_lock:{$this->queueName}"; - Cache::rm($queueLockKey); if (Cache::get($queueLockKey)) { $output->writeln("队列 {$this->queueName} 已经在运行中,跳过执行"); Log::warning("队列 {$this->queueName} 已经在运行中,跳过执行"); diff --git a/Server/application/command/WorkbenchMomentsCommand.php b/Server/application/command/WorkbenchMomentsCommand.php index 760b5a0c..21ae14a4 100644 --- a/Server/application/command/WorkbenchMomentsCommand.php +++ b/Server/application/command/WorkbenchMomentsCommand.php @@ -34,7 +34,6 @@ class WorkbenchMomentsCommand extends Command // 检查队列是否已经在运行 $queueLockKey = "queue_lock:{$this->queueName}"; - Cache::rm($queueLockKey); if (Cache::get($queueLockKey)) { $output->writeln("队列 {$this->queueName} 已经在运行中,跳过执行"); Log::warning("队列 {$this->queueName} 已经在运行中,跳过执行");