Skip to content

Commit

Permalink
Gracefully shut down relay GRPC server. (Layr-Labs#1099)
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <cody@eigenlabs.org>
  • Loading branch information
cody-littley authored Jan 13, 2025
1 parent ce89dab commit 8219298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8219298

Please sign in to comment.