Fix slow transactions according to Sentry
Closed this issue · 0 comments
XDoubleU commented
- GET /locations/ws
- Probably caused by checkInsToday and yesterdayFullAt (https://github.com/XDoubleU/check-in/blob/main/apps/api/src/entities/location.ts)
- GET /schools/location
- Probably caused by all checkins being linked to their school
- POST /checkins
- No clue about cause