Restored comment.

pull/10895/head
Giulio Micheloni 2021-10-16 18:05:32 +01:00
parent fecce25658
commit a3fb665b88
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ import (
func NewHandler(logger Logger, addr net.Addr, register func(server *grpc.Server)) *Handler {
metrics := defaultMetrics()
// We don't need to pass tls.Config to the server since it's multiplexed
// behind the RPC listener, which already has TLS configured.
recoveryOpts := PanicHandlerMiddlewareOpts(logger)
opts := []grpc.ServerOption{