提交 8f80395a authored 作者: xuxueli's avatar xuxueli

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

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论