mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #4340 from meonkeys/remove-ensureIndex-safe-option
don't add {safe:true} to MongoDB indexes
This commit is contained in:
@@ -781,7 +781,6 @@ MongoConnection.prototype.findOne = function (collection_name, selector,
|
||||
MongoConnection.prototype._ensureIndex = function (collectionName, index,
|
||||
options) {
|
||||
var self = this;
|
||||
options = _.extend({safe: true}, options);
|
||||
|
||||
// We expect this function to be called at startup, not from within a method,
|
||||
// so we don't interact with the write fence.
|
||||
|
||||
Reference in New Issue
Block a user