From 9eb89df83f0d362f563fdaf261ac7033abfbefe1 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Wed, 16 Jul 2025 17:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_AllHeartRates.Api/Mqtt/MqttBackgroundService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YD_AllHeartRates.Api/Mqtt/MqttBackgroundService.cs b/YD_AllHeartRates.Api/Mqtt/MqttBackgroundService.cs index 0cfb42f..c8bae0a 100644 --- a/YD_AllHeartRates.Api/Mqtt/MqttBackgroundService.cs +++ b/YD_AllHeartRates.Api/Mqtt/MqttBackgroundService.cs @@ -256,7 +256,7 @@ namespace YD_AllHeartRates.Api.Mqtt totalData.ScoreTime = jumpData.ScoreTime; // 写入缓存(总值 + 原始值) - _caching.AddObject(jumpKey, totalData, 60 * 24); + _caching.AddObject(jumpKey, totalData, 28800); _caching.AddObject(rawKey, jumpData, 60); // 记录活跃学生编号(便于定时入库)