This commit is contained in:
wong
2025-12-10 17:58:08 +08:00
parent 55fe2b46df
commit 198e0434b3
10 changed files with 1346 additions and 142 deletions

View File

@@ -34,6 +34,7 @@ class WorkbenchGroupCreateCommand extends Command
// 检查队列是否已经在运行
$queueLockKey = "queue_lock:{$this->queueName}";
Cache::rm($queueLockKey);
if (Cache::get($queueLockKey)) {
$output->writeln("队列 {$this->queueName} 已经在运行中,跳过执行");
Log::warning("队列 {$this->queueName} 已经在运行中,跳过执行");