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} 已经在运行中,跳过执行");