mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-19 22:39:31 +08:00
added index for message size
This commit is contained in:
parent
ad5a4a8316
commit
ba3beb3138
1 changed files with 7 additions and 0 deletions
|
@ -297,6 +297,13 @@ indexes:
|
||||||
exp: 1
|
exp: 1
|
||||||
rdate: 1
|
rdate: 1
|
||||||
|
|
||||||
|
- collection: messages
|
||||||
|
index:
|
||||||
|
# needed to calculate quotas
|
||||||
|
name: message_size
|
||||||
|
key:
|
||||||
|
size: 1
|
||||||
|
|
||||||
# Indexes for the attachments collection
|
# Indexes for the attachments collection
|
||||||
# attachments.files collection should be sharded by _id (hash)
|
# attachments.files collection should be sharded by _id (hash)
|
||||||
# attachments.chunks collection should be sharded by files_id (hash)
|
# attachments.chunks collection should be sharded by files_id (hash)
|
||||||
|
|
Loading…
Reference in a new issue