Commit 8f80395a by xuxueli

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

parent a052cb81
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment