From 175bc87824638fa1a6d84115354583f9386b8d5d Mon Sep 17 00:00:00 2001 From: Achilles Date: Tue, 9 Jan 2024 20:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BB=A3=E7=A0=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/stock/market/web/MoneyApiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/stock/market/web/MoneyApiController.java b/src/main/java/cn/stock/market/web/MoneyApiController.java index 238d26d..7c6846f 100644 --- a/src/main/java/cn/stock/market/web/MoneyApiController.java +++ b/src/main/java/cn/stock/market/web/MoneyApiController.java @@ -754,7 +754,7 @@ public class MoneyApiController { private Cache> activesStockSuggestCache = CacheBuilder.newBuilder() .maximumSize(100) // 设置缓存的最大大小 - .expireAfterWrite(1, TimeUnit.MINUTES) // 设置缓存条目的过期时间 + .expireAfterWrite(30, TimeUnit.MINUTES) // 设置缓存条目的过期时间 .build(); }