Commit bb303b8b authored by Felipe Andrade's avatar Felipe Andrade

fix(proxyd): add missing shutdown for consensus poller

parent 4611198b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment