Last active
May 17, 2018 22:04
-
-
Save jmerriweather/5fb752e10360464bdccd93f023e356cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodes = [node | Node.list] | |
[:"n1@127.0.0.1", :"n2@127.0.0.1"] | |
iex(n1@127.0.0.1)6> Database.create!(disk: nodes) | |
:ok | |
# this will wait for all nodes to complete | |
iex(n1@127.0.0.1)7> :ok = Database.wait(15000) | |
:ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment