goroutines

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2017-07-24 21:46:42 +08:00
parent 2e3cc8e281
commit fadf9d280d

View File

@@ -29,7 +29,7 @@ func (s *server) Send(ctx context.Context, in *pb.NotificationRequest) (*pb.Noti
APIKey: in.Key,
}
gorush.SendNotification(notification)
go gorush.SendNotification(notification)
return &pb.NotificationReply{
Success: false,