From df47c9300bfe6c641c88707aa5b54591ab4c004c Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期五, 11 六月 2021 15:18:58 +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