mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Performance Enhancements
This commit is contained in:
parent
904b5bf0f5
commit
3c49e2d0ed
7 changed files with 51 additions and 15 deletions
|
|
@ -98,9 +98,9 @@ function customFieldCreation(userId, doc){
|
|||
}
|
||||
|
||||
if (Meteor.isServer) {
|
||||
/*Meteor.startup(() => {
|
||||
CustomFields._collection._ensureIndex({ boardId: 1});
|
||||
});*/
|
||||
Meteor.startup(() => {
|
||||
CustomFields._collection._ensureIndex({ boardId: 1 });
|
||||
});
|
||||
|
||||
CustomFields.after.insert((userId, doc) => {
|
||||
customFieldCreation(userId, doc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue