Skip to content

Commit

Permalink
Update tracker.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
kzemek committed Jul 12, 2018
1 parent c6a95f8 commit 28516d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swarm/tracker/tracker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ defmodule Swarm.Tracker do
# Connect to a random node and sync registries,
# start anti-entropy, and start loop with forked clock of
# remote node
sync_node = Enum.random(nodes)
sync_node = Enum.min(nodes)
info "selected sync node: #{sync_node}"
# Send sync request
clock = Clock.seed()
Expand Down

0 comments on commit 28516d9

Please sign in to comment.