Browse files

Revert "Attempt to connect in a different way"

This reverts commit 7b3f8b8.
  • Loading branch information...
1 parent 7b3f8b8 commit ecb751cf4adc2e75f0d29be912d4bd3a7a26c714 @omega omega committed Oct 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 reader.js
View
2 reader.js
@@ -37,7 +37,7 @@ var mongo_connector = function(uris, mongoose, cb) {
};
if (uris.indexOf(",") != -1) {
logger.log("connecting to a replicaSet: ", uris);
- return mongoose.connect(uris, error_handler);
+ return mongoose.connectSet(uris, error_handler);
} else {
logger.log("Connecting to a single mongo instance: ", uris);
return mongoose.connect(uris, error_handler);

0 comments on commit ecb751c

Please sign in to comment.