From e107c9c0486f1ed5e4f1831607fc0e841312dd19 Mon Sep 17 00:00:00 2001 From: iamhujiebin <458249864@qq.com> Date: Wed, 9 Aug 2023 01:51:21 +0800 Subject: [PATCH] del --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index d8cb459..190504d 100644 --- a/main.go +++ b/main.go @@ -122,6 +122,8 @@ func check() { mylogrus.MyLog.Errorf("dingding msg fail:%v", sErr) } }() + n, err := redisCli.GetRedis().Del(context.Background(), SocketQueueSendGift).Result() + mylogrus.MyLog.Infof("del sendGiftChan msg queue:%v,n:%v,err:%v", SocketQueueSendGift, n, err) } if l > 0 { mylogrus.MyLog.Infof("cron sendGiftChan msg,left %v", l) -- 2.22.0