Remove 1 or 2 hour library updates to avoid DDoSing sources

This commit is contained in:
arkon
2021-05-22 11:52:28 -04:00
parent 2f7f00c7a2
commit 569df39fb8
4 changed files with 10 additions and 6 deletions

View File

@@ -126,8 +126,6 @@ class SettingsLibraryController : SettingsController() {
titleRes = R.string.pref_library_update_interval
entriesRes = arrayOf(
R.string.update_never,
R.string.update_1hour,
R.string.update_2hour,
R.string.update_3hour,
R.string.update_4hour,
R.string.update_6hour,
@@ -137,7 +135,7 @@ class SettingsLibraryController : SettingsController() {
R.string.update_48hour,
R.string.update_weekly
)
entryValues = arrayOf("0", "1", "2", "3", "4", "6", "8", "12", "24", "48", "168")
entryValues = arrayOf("0", "3", "4", "6", "8", "12", "24", "48", "168")
defaultValue = "24"
summary = "%s"