JoshuaGross/mb-node-intro — pull request #2 by MattBeaty (2013-02-17 19:27:04+00:00)
Title: Help needed with load.js

Hey Joshua,

I added a file called load.js. It is meant to open a connection to MongoDB's test db on localhost. It then adds 10K records to the 'user' using async.times, and the db closes its connection after the 10,000th iteration. Problem is, only ~9,300-9,500 are getting added when I run the script it will do this, but if I then drop user and re-run the script, 10K records are added. Do you mind giving me a hint?

Matt