Update On Fri Dec 13 19:36:18 CET 2024

This commit is contained in:
github-action[bot]
2024-12-13 19:36:18 +01:00
parent 0386731fe0
commit 87a1582e9f
43 changed files with 883 additions and 252 deletions
+2
View File
@@ -47,6 +47,7 @@ import (
"github.com/enfein/mieru/v3/pkg/stderror"
"github.com/enfein/mieru/v3/pkg/version/updater"
"google.golang.org/grpc"
"google.golang.org/grpc/reflection"
"google.golang.org/protobuf/proto"
)
@@ -472,6 +473,7 @@ var clientRunFunc = func(s []string) error {
grpcServer := grpc.NewServer(grpc.MaxRecvMsgSize(appctl.MaxRecvMsgSize))
appctl.SetClientRPCServerRef(grpcServer)
appctlgrpc.RegisterClientLifecycleServiceServer(grpcServer, appctl.NewClientLifecycleService())
reflection.Register(grpcServer)
close(appctl.ClientRPCServerStarted)
log.Infof("mieru client RPC server is running")
if err = grpcServer.Serve(rpcListener); err != nil {