refactor(性能测试): 多节点同步时间缓存默认保存30分钟

This commit is contained in:
Captain.B 2021-05-25 13:27:14 +08:00 committed by 刘瑞斌
parent 78b0cb35fa
commit 4c6f17201d
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ import java.util.stream.Collectors;
public class JmeterFileController {
@Resource
private JmeterFileService jmeterFileService;
private final WeakConcurrentHashMap<String, List<Double>> readyMap = new WeakConcurrentHashMap<>(600_000);// 默认保留10分钟
private final WeakConcurrentHashMap<String, List<Double>> readyMap = new WeakConcurrentHashMap<>(30 * 60 * 1000);// 默认保留30分钟
@GetMapping("ping")
public String checkStatus() {