Commit 4c003d80e5d1be57f9f15e9494c51c980f1dd49e

Authored by dongqin
1 parent c23198c846

设置过期时间为3分钟

Showing 1 changed file with 2 additions and 2 deletions

platform-common/src/main/java/com/lyms/platform/common/utils/ExpiryMap.java View file @ 4c003d8
... ... @@ -13,9 +13,9 @@
13 13 private static final long serialVersionUID = 1L;
14 14  
15 15 /**
16   - * default expiry time 2m
  16 + * default expiry time 3m
17 17 */
18   - private long EXPIRY = 1000 * 60 * 2;
  18 + private long EXPIRY = 1000 * 60 * 3;
19 19  
20 20 private HashMap<K, Long> expiryMap = new HashMap<>();
21 21