dev
youhong.ai 2023-07-06 11:11:42 +08:00
parent 57b7af347a
commit 96c6e7f727
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class RsThreadLocalManager {
* @author youHong.ai ****************************************** * @author youHong.ai ******************************************
*/ */
private void startMonitor() { 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 ****************************************** * @author youHong.ai ******************************************
*/ */
public Long getExpireTime() { public Long getExpireTime() {
return System.currentTimeMillis() + 1000L * 60 * 10; return System.currentTimeMillis() + 1000L * 60 * 5;
} }