From 96c6e7f7279beffcdd6d2d15b9bd112cc56ea9ff Mon Sep 17 00:00:00 2001 From: "youhong.ai" Date: Thu, 6 Jul 2023 11:11:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9rs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java b/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java index f8e5c03..b22ee24 100644 --- a/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java +++ b/src/main/java/aiyh/utils/recordset/RsThreadLocalManager.java @@ -38,7 +38,7 @@ public class RsThreadLocalManager { * @author youHong.ai ****************************************** */ private void startMonitor() { - executor.scheduleAtFixedRate(this::checkExpireRs, 0, 10, TimeUnit.MINUTES); + executor.scheduleAtFixedRate(this::checkExpireRs, 0, 5, TimeUnit.MINUTES); } /** @@ -111,7 +111,7 @@ public class RsThreadLocalManager { * @author youHong.ai ****************************************** */ public Long getExpireTime() { - return System.currentTimeMillis() + 1000L * 60 * 10; + return System.currentTimeMillis() + 1000L * 60 * 5; }