From 8e2657207e64cc0a459244793438f38c7dbaa506 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Wed, 26 Jul 2023 17:51:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 640cbab..6d4eada 100644 --- a/main.go +++ b/main.go @@ -184,7 +184,7 @@ func SendToUserCenter(sendUserId uint64, msg *userProxy.GlobalGiftBanner) { //广播 func broadcast(msgType uint32, data []byte) ([]uint64, error) { - ctx, cancel := context.WithTimeout(context.Background(), time.Second*3) + ctx, cancel := context.WithTimeout(context.Background(), time.Second*10) defer cancel() rsp, err := userClient.Broadcast(ctx, &userCenter.BroadcastMessage{ MsgType: msgType, -- 2.22.0