From fadf9d280d8c5ce34127c8c4462eb89b3aea5c60 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 24 Jul 2017 21:46:42 +0800 Subject: [PATCH] goroutines Signed-off-by: Bo-Yi Wu --- rpc/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/server.go b/rpc/server.go index d54315b..17ee111 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -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,