|
@@ -6,7 +6,6 @@ import com.xxl.job.admin.core.model.XxlJobInfo;
|
6
|
6
|
import com.xxl.job.admin.core.route.ExecutorRouteStrategyEnum;
|
7
|
7
|
import com.xxl.job.admin.core.schedule.XxlJobDynamicScheduler;
|
8
|
8
|
import com.xxl.job.admin.core.util.I18nUtil;
|
9
|
|
-import com.xxl.job.admin.core.util.LocalCacheUtil;
|
10
|
9
|
import com.xxl.job.admin.dao.XxlJobGroupDao;
|
11
|
10
|
import com.xxl.job.admin.dao.XxlJobInfoDao;
|
12
|
11
|
import com.xxl.job.admin.dao.XxlJobLogDao;
|
|
@@ -324,12 +323,12 @@ public class XxlJobServiceImpl implements XxlJobService {
|
324
|
323
|
private static final String TRIGGER_CHART_DATA_CACHE = "trigger_chart_data_cache";
|
325
|
324
|
@Override
|
326
|
325
|
public ReturnT<Map<String, Object>> chartInfo(Date startDate, Date endDate) {
|
327
|
|
- // get cache
|
|
326
|
+ /*// get cache
|
328
|
327
|
String cacheKey = TRIGGER_CHART_DATA_CACHE + "_" + startDate.getTime() + "_" + endDate.getTime();
|
329
|
328
|
Map<String, Object> chartInfo = (Map<String, Object>) LocalCacheUtil.get(cacheKey);
|
330
|
329
|
if (chartInfo != null) {
|
331
|
330
|
return new ReturnT<Map<String, Object>>(chartInfo);
|
332
|
|
- }
|
|
331
|
+ }*/
|
333
|
332
|
|
334
|
333
|
// process
|
335
|
334
|
List<String> triggerDayList = new ArrayList<String>();
|
|
@@ -376,8 +375,8 @@ public class XxlJobServiceImpl implements XxlJobService {
|
376
|
375
|
result.put("triggerCountSucTotal", triggerCountSucTotal);
|
377
|
376
|
result.put("triggerCountFailTotal", triggerCountFailTotal);
|
378
|
377
|
|
379
|
|
- // set cache
|
380
|
|
- LocalCacheUtil.set(cacheKey, result, 60*1000); // cache 60s
|
|
378
|
+ /*// set cache
|
|
379
|
+ LocalCacheUtil.set(cacheKey, result, 60*1000); // cache 60s*/
|
381
|
380
|
|
382
|
381
|
return new ReturnT<Map<String, Object>>(result);
|
383
|
382
|
}
|