perf: outlink config (#3128)

* update action

* perf: outlink config
This commit is contained in:
Archer
2024-11-12 15:56:53 +08:00
committed by archer
parent 73d28d1fc3
commit 5e273341dd
38 changed files with 469 additions and 537 deletions

View File

@@ -89,7 +89,7 @@ try {
// get chat logs;
ChatSchema.index({ teamId: 1, appId: 1, updateTime: -1 }, { background: true });
// get share chat history
ChatSchema.index({ shareId: 1, outLinkUid: 1, updateTime: -1, source: 1 }, { background: true });
ChatSchema.index({ shareId: 1, outLinkUid: 1, updateTime: -1 }, { background: true });
// timer, clear history
ChatSchema.index({ teamId: 1, updateTime: -1 }, { background: true });