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; }