【操盘手】 流量分发队列

This commit is contained in:
wong
2025-05-30 18:04:10 +08:00
parent ff3bb5eb74
commit 7af7e35c50
4 changed files with 269 additions and 1 deletions

View File

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