mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
Combine two queries (first get all friend UIDs, then call leaderboard) into one query to reduce db roundtrips. Use the same approach for the friends list in user dal. Note: when updating mongodb to 6+ we could use unionWith in case we don't need the metadata (lb use-case) |
||
|---|---|---|
| .. | ||
| __migration__ | ||
| __tests__ | ||
| docker | ||
| email-templates | ||
| private | ||
| redis-scripts | ||
| scripts | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .oxlintrc.json | ||
| example.env | ||
| package.json | ||
| redocly.yaml | ||
| tsconfig.json | ||
| vitest.config.ts | ||