Files
Amber/app
Claude a8e9db9381 Fix ClearLogsWorker never running and remove unsafe VACUUM
Three bugs:
- ExistingPeriodicWorkPolicy.REPLACE was resetting the 5-minute initial
  delay on every app start, so the worker never fired for users who open
  the app more than once before the delay expires. Changed to KEEP.
- No immediate cleanup meant existing accumulated data (e.g. 4GB) sat
  untouched until the periodic worker eventually ran. Added a one-time
  WorkRequest (ExistingWorkPolicy.KEEP) on every app start so cleanup
  runs right away.
- VACUUM on a multi-GB SQLite database requires equivalent free disk
  space as temp storage and blocks the DB for a long time — removed it.
  Row-level deletion via count/age caps is sufficient to control size.

https://claude.ai/code/session_01BCMhs2yA9XNUvfaX4sqsfv
2026-04-01 12:52:28 +00:00
..
2024-03-01 06:56:32 -03:00
2023-07-26 16:44:33 -03:00
2026-03-27 17:45:41 -03:00