xuxueli hace 8 años
padre
commit
25c680a6bf

+ 1 - 1
doc/XXL-JOB官方文档.md Ver fichero

@@ -1157,7 +1157,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
1157 1157
 - 13、任务依赖增强,新增任务类型 "流程任务",流程节点可挂载普通类型任务,承担任务依赖功能。现有子任务模型取消;需要考虑任务依赖死循环问题;
1158 1158
 - 14、分片任务某一分片失败,支持分片转移;
1159 1159
 - 15、调度中心触发任务后,先推送触发队列,异步触发,然后立即返回。降低quartz线程占用时长。
1160
-
1160
+- 16、调度报表加载速度慢问题;
1161 1161
 
1162 1162
 ## 七、其他
1163 1163
 

+ 10 - 8
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/I18nUtil.java Ver fichero

@@ -23,14 +23,16 @@ public class I18nUtil {
23 23
     private static boolean prop_cache = false;
24 24
 
25 25
     public static Properties loadI18nProp(){
26
-        if (prop_cache && prop == null) {
27
-            try {
28
-                Resource resource = new ClassPathResource(i18n_file);
29
-                EncodedResource encodedResource = new EncodedResource(resource,"UTF-8");
30
-                prop = PropertiesLoaderUtils.loadProperties(encodedResource);
31
-            } catch (IOException e) {
32
-                logger.error(e.getMessage(), e);
33
-            }
26
+        if (prop_cache && prop != null) {
27
+            return prop;
28
+        }
29
+
30
+        try {
31
+            Resource resource = new ClassPathResource(i18n_file);
32
+            EncodedResource encodedResource = new EncodedResource(resource,"UTF-8");
33
+            prop = PropertiesLoaderUtils.loadProperties(encodedResource);
34
+        } catch (IOException e) {
35
+            logger.error(e.getMessage(), e);
34 36
         }
35 37
         return prop;
36 38
     }