From 485a02ea936fb0b1c209ec1d7f2a3a9c701adbb4 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 17 Dec 2024 18:42:27 +0800 Subject: [PATCH] update --- app/task/svc/svc_auto_caching_egg_point_statistics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/task/svc/svc_auto_caching_egg_point_statistics.go b/app/task/svc/svc_auto_caching_egg_point_statistics.go index 14e3df2..050a23e 100644 --- a/app/task/svc/svc_auto_caching_egg_point_statistics.go +++ b/app/task/svc/svc_auto_caching_egg_point_statistics.go @@ -31,7 +31,7 @@ func AutoCachingEggPointStatistics(engine *xorm.Engine) { return } cache.SetEx(AutoCachingEggPointStatisticsLockKey, "running", 10*60) // 10 min - cache.Del(AutoCachingEggPointStatisticsLockKey) + defer cache.Del(AutoCachingEggPointStatisticsLockKey) // 1. 查询所有蛋蛋分索引 aliasName := md.EggEnergyUserEggScoreEsAlias