service/resend.go
@@ -9,7 +9,15 @@ "gat1400Exchange/vo" ) var resendTaskRunning bool func ResendImageData() { if resendTaskRunning { return } resendTaskRunning = true defer func() { resendTaskRunning = false }() var cacheMod models.Cache total, _ := cacheMod.Count() logger.Debug("Start resend task. cache len:%d", total)