From 8908da5baf0c49420756c5bae4addbfdfb95699d Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Tue, 14 Oct 2025 17:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/common/TaskServer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/application/common/TaskServer.php b/Server/application/common/TaskServer.php index 5af9303e..8684c42c 100644 --- a/Server/application/common/TaskServer.php +++ b/Server/application/common/TaskServer.php @@ -71,8 +71,8 @@ class TaskServer extends Server }); } - // 3个进程处理获客新任务 - if ($current_worker_id < 3) { + // 进程处理获客新任务 + if ($current_worker_id == 2) { Timer::add(1, function () use ($current_worker_id, $process_count_for_status_0, $adapter) { $adapter->handleCustomerTaskWithStatusIsNew($current_worker_id, $process_count_for_status_0); });