aboekhoff/congomongo — pull request #72 by arohner (2012-04-18 20:03:00+00:00)
Title: Respect set-write-concern, fix race

Don't specify the write concern during an insert, thereby respecting the user's previous set-write-concern call.

Now that set-write-concern is respected, it eliminates the need to call .getLastError() after an insert, fixing a race where .getLastError would return "The connection may have been used since this write, cannot obtain a result" under heavy load.