From a53c2b75bfd50e78569069978dd5e2c71cbc70aa Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 24 Oct 2024 16:01:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=B5=84=E6=BA=90=E6=B1=A0):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=B5=84=E6=BA=90=E6=B1=A0=E5=AE=B9=E9=87=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/system/service/TestResourcePoolService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/service/TestResourcePoolService.java b/backend/services/system-setting/src/main/java/io/metersphere/system/service/TestResourcePoolService.java index 3b8ee5ab7b..42f4846791 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/service/TestResourcePoolService.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/service/TestResourcePoolService.java @@ -312,7 +312,7 @@ public class TestResourcePoolService { int occupiedConcurrentNumber = 0; for (TestResourceNodeDTO testResourceNodeDTO : testResourceDTO.getNodesList()) { ResourcePoolNodeMetric nodeMetric = getNodeMetric(testResourceNodeDTO.getIp(), testResourceNodeDTO.getPort()); - concurrentNumber = concurrentNumber + nodeMetric.getConcurrentNumber(); + concurrentNumber = concurrentNumber + testResourceNodeDTO.getConcurrentNumber(); occupiedConcurrentNumber = occupiedConcurrentNumber + nodeMetric.getOccupiedConcurrentNumber(); } resourcePoolNodeMetric.setConcurrentNumber(concurrentNumber);