anchor.diff:      heartbeat(NodeName, 1).
   
   -spec heartbeat(node_name(), integer()) -> 'ok'.
  -heartbeat(_, 0) -> 
  +heartbeat(_, 0) ->
       ok; %% TODO We should log the fact that we're dropping heartbeats.
   heartbeat(NodeName, Retries) ->
       case catch gproc:send({n,l,NodeName}, %% FIXME: why not use sync_send_event?
  
positive.code: %% -*- erlang-indent-level: 4;indent-tabs-mode: nil; fill-column: 92 -*-
  %% ex: ts=4 sw=4 et
  %% @copyright 2011-2012 Opscode Inc.
  
  -module(pushy_node_state_exp).
  
  -behaviour(gen_fsm).
  
negative.code: %
  initializing(timeout, #state{}=StateData) ->
      StateData2 = StateData#state{
                     current_status = up % TODO Fetch this from the db someday FIXME
                    },
      {next_state, down, create_status_record(down, StateData2)}.
  
  