Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalaman93 committed Mar 24, 2020
1 parent 59b361d commit 6baa8fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conn/raft_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ func (w *RaftServer) Heartbeat(_ *api.Payload, stream pb.Raft_HeartbeatServer) e
if node == nil {
return ErrNoNode
}
// TODO(Aman): Send list of ongoing tasks as part of heartbeats.
// Currently, there is a cyclic dependency of imports worker -> conn -> worker.
info := pb.HealthInfo{
Instance: "alpha",
Address: node.MyAddr,
Expand Down

0 comments on commit 6baa8fa

Please sign in to comment.