Skip to content

Commit

Permalink
Local history: remove oldest only after 90 days (was 30)
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Mar 7, 2024
1 parent 1e14d6b commit 80e82cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface SgActivityHelper {
fun getActivityByLatest(): List<SgActivity>

companion object {
private const val HISTORY_THRESHOLD = 30 * DateUtils.DAY_IN_MILLIS
private const val HISTORY_THRESHOLD = 90 * DateUtils.DAY_IN_MILLIS

/**
* Adds activity entries for the given episode TMDB IDs with the current time as timestamp.
Expand Down

0 comments on commit 80e82cb

Please sign in to comment.