Permalink
Browse files

Add default safe mode option to stop mongo driver from printing a war…

…ning.
  • Loading branch information...
1 parent 5b35785 commit eee0f744d497bf24db8578a95aa71d9753123b5c @n1mmy n1mmy committed Nov 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/mongo-livedata/mongo_driver.js
@@ -19,7 +19,7 @@ _Mongo = function (url) {
self._liveResultsSets = {};
- MongoDB.connect(url, function(err, db) {
+ MongoDB.connect(url, {db: {safe: true}}, function(err, db) {
if (err)
throw err;
self.db = db;

0 comments on commit eee0f74

Please sign in to comment.