From 82192985a2d15b88d85a6090404b2595f4922bef Mon Sep 17 00:00:00 2001 From: Cody Littley <56973212+cody-littley@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:23:22 -0600 Subject: [PATCH] Gracefully shut down relay GRPC server. (#1099) Signed-off-by: Cody Littley --- relay/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/server.go b/relay/server.go index 117127de1..47f1c488f 100644 --- a/relay/server.go +++ b/relay/server.go @@ -523,7 +523,7 @@ func (s *Server) RefreshOnchainState(ctx context.Context) error { // Stop stops the server. func (s *Server) Stop() error { if s.grpcServer != nil { - s.grpcServer.Stop() + s.grpcServer.GracefulStop() } err := s.metrics.Stop()