From 4c6f17201d373826c4c09d3cfb0b406f5f13217f Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Tue, 25 May 2021 13:27:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E5=A4=9A=E8=8A=82=E7=82=B9=E5=90=8C=E6=AD=A5=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=BC=93=E5=AD=98=E9=BB=98=E8=AE=A4=E4=BF=9D=E5=AD=98?= =?UTF-8?q?30=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/controller/JmeterFileController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/performance/controller/JmeterFileController.java b/backend/src/main/java/io/metersphere/performance/controller/JmeterFileController.java index 1e328e16f0..aeeafce010 100644 --- a/backend/src/main/java/io/metersphere/performance/controller/JmeterFileController.java +++ b/backend/src/main/java/io/metersphere/performance/controller/JmeterFileController.java @@ -22,7 +22,7 @@ import java.util.stream.Collectors; public class JmeterFileController { @Resource private JmeterFileService jmeterFileService; - private final WeakConcurrentHashMap> readyMap = new WeakConcurrentHashMap<>(600_000);// 默认保留10分钟 + private final WeakConcurrentHashMap> readyMap = new WeakConcurrentHashMap<>(30 * 60 * 1000);// 默认保留30分钟 @GetMapping("ping") public String checkStatus() {