The hourly `expireSessions()` cron runs `DELETE FROM planner.sessions WHERE last_activity < cutoff`. Without an index on `last_activity`, that's a full table scan growing linearly with the total sessions ever created (planner sessions are never user-deleted; expiry is the only churn path). `drizzle-kit push` picks this up on next deploy. |
||
|---|---|---|
| .. | ||
| api | ||
| db | ||
| fit | ||
| gpx | ||
| i18n | ||
| jobs | ||
| map | ||
| map-core | ||
| sentry-config | ||
| types | ||
| ui | ||