chore: limit max amount of concurrent downloads to 6 to prevent rate limiting

This commit is contained in:
Bnyro 2024-01-06 13:28:51 +01:00
parent de99c2e824
commit 07b657692c
2 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ object PreferenceKeys {
const val SHARE_WITH_TIME_CODE = "share_with_time_code"
const val CONFIRM_UNSUBSCRIBE = "confirm_unsubscribing"
const val CLEAR_BOOKMARKS = "clear_bookmarks"
const val MAX_CONCURRENT_DOWNLOADS = "max_concurrent_downloads"
const val MAX_CONCURRENT_DOWNLOADS = "max_parallel_downloads"
const val DISABLE_VIDEO_IMAGE_PROXY = "disable_video_image_proxy"
const val CONTRIBUTE_TO_SB = "sb_contribute_key"

View File

@ -22,12 +22,12 @@
<com.github.libretube.ui.views.SliderPreference
android:icon="@drawable/ic_download"
android:key="max_concurrent_downloads"
android:key="max_parallel_downloads"
android:title="@string/concurrent_downloads"
app:defValue="6"
app:stepSize="1"
app:valueFrom="1"
app:valueTo="20" />
app:valueTo="6" />
<ListPreference
android:entries="@array/cacheSize"