Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove comments

  • Loading branch information...
commit 1b0b38b53aa157cab373e9a537c6bbf281269655 1 parent 4070747
@aheckmann aheckmann authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 lib/drivers/node-mongodb-native/collection.js
View
15 lib/drivers/node-mongodb-native/collection.js
@@ -100,21 +100,6 @@ MongooseCollection.prototype.onClose = function () {
for (var i in NativeCollection.prototype)
(function(i){
MongooseCollection.prototype[i] = function () {
- // buffer until connected
- // if disconnected
- // option 1: fail fast
- // just return errors
- // option 2: buffer
- // buffer cmds until reconnection
- // if reconnection takes > optional timeout, fail buffered cmds, keep returning errors until reconnection
- //
- // the driver:
- // no buffering until connected
- // auto_reconnect buffers cmds when disconnected until reconnection
- // if auto_reconnect = false
- // no cmds are buffered, errors are returned
- // but you must reconnect manually
-
if (this.buffer) {
this.addQueue(i, arguments);
return;
Please sign in to comment.
Something went wrong with that request. Please try again.