国际化配置文件,缓存事件调整为60s

This commit is contained in:
xuxueli 2018-01-20 16:56:41 +08:00
parent a052cb8104
commit 8f80395ac1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class I18nUtil {
private static long lastCacheTim = 0L;
public static Properties loadI18nProp(){
if (prop != null && (System.currentTimeMillis()-lastCacheTim)<3*1000) {
if (prop != null && (System.currentTimeMillis()-lastCacheTim)<60*1000) {
return prop;
}
try {