From b7735518ee19f52e6fbc5ae5f047f916ec5bddee Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: 星期五, 18 六月 2021 17:10:57 +0800
Subject: [PATCH] 修改按钮权限、删除实验室时同时删除存储柜、添加存储柜时条码你不能重复

---
 src/main/webapp/WEB-INF/ehcache.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/WEB-INF/ehcache.xml b/src/main/webapp/WEB-INF/ehcache.xml
index 5fed98f..2950179 100644
--- a/src/main/webapp/WEB-INF/ehcache.xml
+++ b/src/main/webapp/WEB-INF/ehcache.xml
@@ -29,6 +29,16 @@
            statistics="true">
     </cache>
 
+    <!-- 缓存1min -->
+    <cache name="oneMin"
+        maxElementsInMemory="10000"
+        maxElementsOnDisk="100000"
+        eternal="false"
+        timeToIdleSeconds="60"
+        timeToLiveSeconds="60"
+        overflowToDisk="false"
+        diskPersistent="false" />
+
     <!-- 缓存5min -->
     <cache name="fivMin"
            maxElementsInMemory="10000"

--
Gitblit v1.9.2