bitly/asyncmongo — pull request #26 by dcrosta (2011-11-09 00:22:17+00:00)
Title: kill cursor after a find()

If no limit was specified in a `find()`, then the cursor will remain open on the server until mongod kills it (by default, after 10 minutes). Patch sends an `OP_KILL_CURSORS` (http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol#MongoWireProtocol-OPKILLCURSORS) after the callback if there was a (non-zero) cursor id in the response.