From ba63627ebfc7a9e96fd9c47587de298eb107bc5e Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 28 Aug 2018 21:16:32 +0300 Subject: Fix typo. --- models/cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/cards.js b/models/cards.js index 4a73bbbc..11f08283 100644 --- a/models/cards.js +++ b/models/cards.js @@ -1022,7 +1022,7 @@ if (Meteor.isServer) { // When loading a board, mongodb is searching for every cards, the id of the parent (in the swinglanes collection). // With a huge database, this result in a very slow app and high CPU on the mongodb side. // To correct it, add Index to parentId: - Cards._collection._ensureIndex({"parentId": 1}); + Cards._collection._ensureIndex({parentId: 1}); }); Cards.after.insert((userId, doc) => { -- cgit v1.2.3-1-g7c22