fix: 暂时取消 mq 消息处理,仅处理rpc

main
NorthLan 3 years ago
parent 922fb55f56
commit 1417e654a4

@ -1,11 +1,8 @@
package main
import (
"context"
"flag"
"fmt"
"live-service/app/user_center/rpc/msg_transfer"
"live-service/app/user_center/rpc/internal/config"
"live-service/app/user_center/rpc/internal/server"
"live-service/app/user_center/rpc/internal/svc"
@ -29,8 +26,8 @@ func main() {
svr := server.NewUserCenterServer(ctx)
// msg_transfer
msg_transfer.Init(context.Background(), ctx, svr)
msg_transfer.Run()
//msg_transfer.Init(context.Background(), ctx, svr)
//msg_transfer.Run()
s := zrpc.MustNewServer(c.RpcServerConf, func(grpcServer *grpc.Server) {
pb.RegisterUserCenterServer(grpcServer, svr)

Loading…
Cancel
Save