mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-18 18:39:51 +08:00
config path
This commit is contained in:
parent
e103644929
commit
3106f671af
@ -70,8 +70,9 @@ func (g *Client) Push(ctx context.Context, userIDs []string, title, content stri
|
|||||||
for i, v := range s.GetSplitResult() {
|
for i, v := range s.GetSplitResult() {
|
||||||
go func(index int, userIDs []string) {
|
go func(index int, userIDs []string) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
if err = g.batchPush(ctx, token, userIDs, pushReq); err != nil {
|
if err2 := g.batchPush(ctx, token, userIDs, pushReq); err2 != nil {
|
||||||
log.NewError(tracelog.GetOperationID(ctx), "batchPush failed", i, token, pushReq)
|
log.NewError(tracelog.GetOperationID(ctx), "batchPush failed", i, token, pushReq)
|
||||||
|
err = err2
|
||||||
}
|
}
|
||||||
}(i, v.Item)
|
}(i, v.Item)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user