Skip to content

Commit

Permalink
Revert "grpc_health_v1"
Browse files Browse the repository at this point in the history
This reverts commit 1769d61.
  • Loading branch information
amitza committed Sep 12, 2024
1 parent 75bc608 commit 9086a5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions protocol/rpcprovider/provider_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import (
"golang.org/x/net/http2/h2c"
grpc "google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"
)

const (
Expand Down Expand Up @@ -69,7 +67,7 @@ func NewProviderListener(ctx context.Context, networkAddress lavasession.Network
grpc.MaxRecvMsgSize(1024 * 1024 * 32), // setting receive size to 32mb instead of 4mb default
}
grpcServer := grpc.NewServer(opts...)
grpc_health_v1.RegisterHealthServer(grpcServer, health.NewServer())

wrappedServer := grpcweb.WrapServer(grpcServer)
handler := func(resp http.ResponseWriter, req *http.Request) {
// Set CORS headers
Expand Down

0 comments on commit 9086a5c

Please sign in to comment.