Add option to customize concurrent downloads, increase page concurrency (#2637)

This commit is contained in:
AntsyLich
2025-11-01 20:07:30 +06:00
committed by GitHub
parent 7e880014b0
commit 643762f913
5 changed files with 45 additions and 19 deletions

View File

@@ -37,6 +37,10 @@ class DownloadPreferences(
fun downloadNewUnreadChaptersOnly() = preferenceStore.getBoolean("download_new_unread_chapters_only", false)
fun parallelSourceLimit() = preferenceStore.getInt("download_parallel_source_limit", 5)
fun parallelPageLimit() = preferenceStore.getInt("download_parallel_page_limit", 5)
companion object {
private const val REMOVE_EXCLUDE_CATEGORIES_PREF_KEY = "remove_exclude_categories"
private const val DOWNLOAD_NEW_CATEGORIES_PREF_KEY = "download_new_categories"