From bf5b330a418925dfcbcca5ac18373fed4a5b9a48 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Sat, 16 Mar 2024 10:54:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/service/impl/DcTrafficSectionDataServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();