Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var sys = require('sys'),
fleetdb = require('./fleetdb');
var db = new fleetdb.Database();
db.open('http://127.0.0.1:3400');
done = 0;
for(var i=0; i<10000; i++) {
db.query(['ping'], function(status, data) {
done += 1;
sys.puts('done: ' + done);
});
};
db.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.