mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
chore: limit max amount of concurrent downloads to 6 to prevent rate limiting
This commit is contained in:
parent
de99c2e824
commit
07b657692c
@ -145,7 +145,7 @@ object PreferenceKeys {
|
|||||||
const val SHARE_WITH_TIME_CODE = "share_with_time_code"
|
const val SHARE_WITH_TIME_CODE = "share_with_time_code"
|
||||||
const val CONFIRM_UNSUBSCRIBE = "confirm_unsubscribing"
|
const val CONFIRM_UNSUBSCRIBE = "confirm_unsubscribing"
|
||||||
const val CLEAR_BOOKMARKS = "clear_bookmarks"
|
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 DISABLE_VIDEO_IMAGE_PROXY = "disable_video_image_proxy"
|
||||||
const val CONTRIBUTE_TO_SB = "sb_contribute_key"
|
const val CONTRIBUTE_TO_SB = "sb_contribute_key"
|
||||||
|
|
||||||
|
@ -22,12 +22,12 @@
|
|||||||
|
|
||||||
<com.github.libretube.ui.views.SliderPreference
|
<com.github.libretube.ui.views.SliderPreference
|
||||||
android:icon="@drawable/ic_download"
|
android:icon="@drawable/ic_download"
|
||||||
android:key="max_concurrent_downloads"
|
android:key="max_parallel_downloads"
|
||||||
android:title="@string/concurrent_downloads"
|
android:title="@string/concurrent_downloads"
|
||||||
app:defValue="6"
|
app:defValue="6"
|
||||||
app:stepSize="1"
|
app:stepSize="1"
|
||||||
app:valueFrom="1"
|
app:valueFrom="1"
|
||||||
app:valueTo="20" />
|
app:valueTo="6" />
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:entries="@array/cacheSize"
|
android:entries="@array/cacheSize"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user