lib/zold/remotes.rb
# The default TCP port all nodes are supposed to use.
The default TCP port all nodes are supposed to use.
The default TCP port all nodes are supposed to use .
def save(list)
      @mutex.synchronize do
        AtomicFile.new(file).write(
          list.map do |r|
            [
              r[:host],
              r[:port],
              r[:score],
              r[:errors]
            ].join(',')
          end.join("\n")
        )
      end
    end
def save ( list ) @mutex . synchronize do AtomicFile . new ( file ) . write ( list . map do | r | [ r [ :host ] , r [ :port ] , r [ :score ] , r [ :errors ] ] . join ( ',' ) end . join ( "\n" ) ) end end
The default TCP port all nodes are supposed to use.
The default TCP port all nodes are supposed to use .
list
<not_specific>