Skip to content

Reduce storage usage: OkHttp cache, EPG retention, DB maintenance on startup - #172

Open
disclosurez wants to merge 1 commit into
Davidona:masterfrom
disclosurez:storage-reduction
Open

Reduce storage usage: OkHttp cache, EPG retention, DB maintenance on startup#172
disclosurez wants to merge 1 commit into
Davidona:masterfrom
disclosurez:storage-reduction

Conversation

@disclosurez

Copy link
Copy Markdown
Contributor

Reduces OkHttp disk cache from 256MB to 16MB, shortens EPG retention from 24h to 12h, and triggers database maintenance (PRAGMA optimize + WAL checkpoint) on app launch to compact storage.

Files changed:

  • app/.../di/NetworkModule.kt
  • data/.../sync/DatabaseMaintenanceManager.kt
  • app/.../dashboard/DashboardViewModel.kt

…h, DB maintenance on startup

- Reduced OkHttp disk cache from 256MB to 16MB
- Reduced EPG program retention from 24h to 12h
- Trigger database maintenance (PRAGMA optimize, WAL checkpoint) on app launch
  to compact database storage and reclaim unused space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant