From 23f3445c2255368b2451b3716bcf79a1bb7ba59b Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Mon, 29 Jul 2024 17:31:04 +0800 Subject: [PATCH] add online cache --- internal/push/push_handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/push/push_handler.go b/internal/push/push_handler.go index ed87b3929..1da008945 100644 --- a/internal/push/push_handler.go +++ b/internal/push/push_handler.go @@ -198,6 +198,7 @@ func (c *ConsumerHandler) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws. offlineUserIDs = append(offlineUserIDs, userID) } } + log.ZDebug(ctx, "GetConnsAndOnlinePush online cache", "pushToUserIDs", pushToUserIDs, "onlineUserIDs", onlineUserIDs, "offlineUserIDs", offlineUserIDs) var result []*msggateway.SingleMsgToUserResults if len(onlineUserIDs) > 0 { var err error