Created
July 17, 2014 20:17
-
-
Save AdamMagaluk/d70f603e94bcde501e7b to your computer and use it in GitHub Desktop.
Go Zetta Go
This file contains hidden or 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
var test = require('./test/fixture/zetta_test'); | |
var Scout = require('./test/fixture/example_scout'); | |
var cluster = test({startPort : 22000}); | |
cluster.server('cloud'); | |
for (var i=0; i< process.env.PEERS; i++) { | |
cluster.server('peer-'+(i+1), [Scout], ['cloud']); | |
} | |
cluster.run(function(err){ | |
console.log('done:'+err); | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment