|
|
@ -87,6 +87,7 @@ func (d *DefaultAllNode) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws.M
|
|
|
|
// Online push message
|
|
|
|
// Online push message
|
|
|
|
for _, conn := range conns {
|
|
|
|
for _, conn := range conns {
|
|
|
|
conn := conn // loop var safe
|
|
|
|
conn := conn // loop var safe
|
|
|
|
|
|
|
|
ctx := ctx
|
|
|
|
wg.Go(func() error {
|
|
|
|
wg.Go(func() error {
|
|
|
|
msgClient := msggateway.NewMsgGatewayClient(conn)
|
|
|
|
msgClient := msggateway.NewMsgGatewayClient(conn)
|
|
|
|
reply, err := msgClient.SuperGroupOnlineBatchPushOneMsg(ctx, input)
|
|
|
|
reply, err := msgClient.SuperGroupOnlineBatchPushOneMsg(ctx, input)
|
|
|
|