lib/donaghy/manager_beater.rb
# store the configuration in the shared storage every so often, but let it expire, so when we stop beating
# it will dissolve.
store the configuration in the shared storage every so often, but let it expire, so when we stop beating
it will dissolve.
store the configuration in the shared storage every so often but let it expire so when we stop beating it will dissolve .
def beat
      return if stopped
      Donaghy.storage.put(path_to_beat, Donaghy.configuration.to_hash, timeout*3)
      @timer = after(timeout) { beat if !stopped } unless stopped
      true
    end
def beat return if stopped Donaghy . storage . put ( path_to_beat , Donaghy . configuration . to_hash , timeout * 3 ) @timer = after ( timeout ) { beat if ! stopped } unless stopped true end
store the configuration in the shared storage every so often, but let it expire, so when we stop beating
it will dissolve.
store the configuration in the shared storage every so often but let it expire so when we stop beating it will dissolve .