Skip to content

Instantly share code, notes, and snippets.

@mmcgrana
Created February 1, 2011 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmcgrana/805775 to your computer and use it in GitHub Desktop.
Save mmcgrana/805775 to your computer and use it in GitHub Desktop.
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