Skip to content

Commit

Permalink
node: issue transition to :partitioned state from handle_heartbeat as…
Browse files Browse the repository at this point in the history
… well
  • Loading branch information
niamster committed Dec 14, 2014
1 parent b2d0661 commit 38fd929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dcell/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def send_heartbeat
def handle_heartbeat(from)
return if from == id
transition :connected
transition :partitioned, :delay => @heartbeat_timeout
end

# Friendlier inspection
Expand Down

0 comments on commit 38fd929

Please sign in to comment.