Skip to content

Commit

Permalink
Remove unnecessary check for reconcile messages from self
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertreat committed Nov 13, 2017
1 parent 3f93a85 commit dd12943
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/server.go
Expand Up @@ -1729,10 +1729,6 @@ func (s *StanServer) reconcileChannels(m *nats.Msg) {
s.log.Errorf("Error processing channel reconcile request: %v", err)
return
}
// Ignore messages from ourselves.
if req.ServerID == s.serverID {
return
}
channels, err := util.DecodeChannels(req.Data)
if err != nil {
s.log.Errorf("Error processing channel reconcile request: %v", err)
Expand Down

0 comments on commit dd12943

Please sign in to comment.