diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficSectionDataServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficSectionDataServiceImpl.java index 1ee4e846..5bb93303 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficSectionDataServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficSectionDataServiceImpl.java @@ -119,7 +119,7 @@ public class DcTrafficSectionDataServiceImpl /** * 定义每小时第20分钟执行的任务,用于清除过期缓存数据并将缓存中的数据整合后保存至数据库。 */ - @Scheduled(cron = "0 20 * * * ?") // 每小时的20分整点执行该任务 +// @Scheduled(cron = "0 20 * * * ?") // 每小时的20分整点执行该任务 public void performHourlyCleanupAndPersist() { // 清除已过期的缓存数据 DailyTrafficStatisticsCache.clearExpiredData();