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

(cherry picked from commit 643762f91325a460c74398d472a555fb00ed9f63)
This commit is contained in:
AntsyLich
2025-11-01 19:52:30 +05:45
committed by NGB-Was-Taken
parent 17c528a206
commit ff6ad20a77
4 changed files with 43 additions and 19 deletions
@@ -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"