chahinebrini
04e2979b8d
perf(mail): incremental UID-scan + daily quality full-sweep
Backend-Lag-Fix Phase 2 — entfernt die Scan-Grundlast an der Wurzel:
- mail_connections: +folder_scan_state JSONB, +last_full_sweep_at TIMESTAMPTZ
(additive Migration, DEFAULT '{}' deckt Bestandsrows; erster Lauf = Full-Sweep
wie bisher → null Verhaltens-/Qualitätsänderung initial).
- scan-internal: pro Ordner status(uidNext,uidValidity); inkrementeller
search(UID > lastUid) statt Last-200-Refetch. Leere Ordner → skip. UIDVALIDITY-
Wächter (Server-Renumber → einmal Full-Sweep). maxUid persistiert via JSONB-Merge.
- Quality-Full-Sweep 1x/Tag (last_full_sweep_at) re-scannt Last-200 → Blocklist-
Updates greifen rückwirkend. Klassifikation/Delete/Consent-Logik 1:1 erhalten.
- db/mail: patchFolderScanState (atomic ||-merge) + markFullSweepDone; toter
getAllActiveMailUserIds entfernt (Cron weg).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 10:56:55 +02:00
..
2026-05-08 22:30:03 +02:00
2026-05-09 15:48:35 +02:00
2026-05-30 08:16:45 +02:00
2026-06-04 19:54:51 +02:00
2026-05-17 23:48:25 +02:00
2026-05-13 16:35:18 +02:00
2026-05-06 07:13:43 +02:00
2026-05-25 07:11:47 +02:00
2026-06-01 02:36:28 +02:00
2026-06-03 10:39:51 +02:00
2026-05-17 17:48:05 +02:00
2026-05-28 16:07:05 +02:00
2026-05-06 07:13:43 +02:00
2026-06-05 10:56:55 +02:00
2026-05-09 15:48:35 +02:00
2026-05-06 07:13:43 +02:00
2026-06-03 21:14:31 +02:00
2026-05-15 22:41:17 +02:00
2026-05-06 07:13:43 +02:00
2026-06-03 21:14:31 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-09 16:28:36 +02:00