Merge pull request #5708 from ethereum-optimism/felipe/fix-consensus-shutdown
fix(proxyd): add missing shutdown for consensus poller
This commit is contained in:
commit
73607dbf62
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user