fix(proxyd): add missing shutdown for consensus poller

This commit is contained in:
Felipe Andrade 2023-05-13 22:19:32 -07:00
parent 21284bd651
commit bae755b825

@ -222,6 +222,11 @@ func (s *Server) Shutdown() {
if s.wsServer != nil {
_ = s.wsServer.Shutdown(context.Background())
}
for _, bg := range s.BackendGroups {
if bg.Consensus != nil {
bg.Consensus.Shutdown()
}
}
}
func (s *Server) HandleHealthz(w http.ResponseWriter, r *http.Request) {