Restored comment.

This commit is contained in:
Giulio Micheloni 2021-10-16 18:05:32 +01:00
parent a5a4eb9cae
commit b549de831d
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{