From a495fff99dfd1ffdace59c17040d8f840ad37501 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Wed, 14 Dec 2022 15:44:27 +0800 Subject: [PATCH] =?UTF-8?q?resourceSelectTotal=20=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/resource/service/impl/ResourceServiceImpl.java | 2 +- renren-admin/src/main/resources/ehcache.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java index 58b49478..3fc14698 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java @@ -668,7 +668,7 @@ public class ResourceServiceImpl extends CrudServiceImpl resultMap = new HashMap<>(); List re = resourceDao.selectTypeCount(null); diff --git a/renren-admin/src/main/resources/ehcache.xml b/renren-admin/src/main/resources/ehcache.xml index c3edf26f..8d29bdf5 100644 --- a/renren-admin/src/main/resources/ehcache.xml +++ b/renren-admin/src/main/resources/ehcache.xml @@ -116,7 +116,7 @@ eternal="false" timeToIdleSeconds="15" timeToLiveSeconds="60" - overflowToDisk="true" - diskPersistent="true" + overflowToDisk="false" + diskPersistent="false" memoryStoreEvictionPolicy="LRU"/> \ No newline at end of file