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