goroutines
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
2e3cc8e281
commit
fadf9d280d
|
@ -29,7 +29,7 @@ func (s *server) Send(ctx context.Context, in *pb.NotificationRequest) (*pb.Noti
|
||||||
APIKey: in.Key,
|
APIKey: in.Key,
|
||||||
}
|
}
|
||||||
|
|
||||||
gorush.SendNotification(notification)
|
go gorush.SendNotification(notification)
|
||||||
|
|
||||||
return &pb.NotificationReply{
|
return &pb.NotificationReply{
|
||||||
Success: false,
|
Success: false,
|
||||||
|
|
Loading…
Reference in New Issue