Skip to content

Commit

Permalink
fix timeout delete mails (add index on _parentFolder on folders)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianGille committed May 15, 2024
1 parent 53087ca commit c4e1f68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/folder/folder.schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ FolderSchema.virtual('childFolders', {
justOne: false,
});

FolderSchema.index({ _parentFolder: 1 });

module.exports = FolderSchema;

0 comments on commit c4e1f68

Please sign in to comment.