perf: optimize user internal history reads

This commit is contained in:
dahyeon committed 2026-06-26 05:56:04 -07:00
1 parent e80313e459
commit d6e0bbf0e8
4 files changed
+293 -44

No files matched your search

@@ -2371,6 +2371,7 @@ MatchStatsSchema.index({
gameCreationMax: 1,
});
MatchStatsSchema.index({ communityId: 1, userIds: 1 });
MatchStatsSchema.index({ communityId: 1, userIds: 1, scheduledAt: -1 });
MatchStatsSchema.index({ communityId: 1, championIds: 1 });
export const tournamentModelDefinitions: ModelDefinition[] = [