mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 18:30:13 +01:00
Fix typo.
This commit is contained in:
parent
da636ed17d
commit
ba63627ebf
1 changed files with 1 additions and 1 deletions
|
|
@ -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).
|
// 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.
|
// 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:
|
// To correct it, add Index to parentId:
|
||||||
Cards._collection._ensureIndex({"parentId": 1});
|
Cards._collection._ensureIndex({parentId: 1});
|
||||||
});
|
});
|
||||||
|
|
||||||
Cards.after.insert((userId, doc) => {
|
Cards.after.insert((userId, doc) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue