We use analytics and advertising cookies to understand how the site is used and whether our ads on Facebook, Instagram and Microsoft search (Bing) work. They are set only if you accept. See our Privacy Policy for details.
Home / Review the AI's PR / TypeScript
The ask: “Wrap getProfile with an in-memory cache. Entries should expire after PROFILE_TTL_SECONDS.”
Context: Long-running Node service; PROFILE_TTL_SECONDS = 60. Hundreds of thousands of distinct users per day.
Click any added line you would block in review and say why. This change has 2 planted defects.
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + |