From efa546c94b1b76a3fe827857f886ccd3000c8e99 Mon Sep 17 00:00:00 2001 From: TheeoCornnaro <87405560+TheeoCornnaro@users.noreply.github.com> Date: Fri, 10 Sep 2021 22:30:27 -0400 Subject: [PATCH] TMO ratelimit options (#8980) * TMO ratelimit options rate limit of images variates, the maximum is not 10, added extra values * Update TuMangaOnline.kt * Update TuMangaOnline.kt Changed Parameters from 1 to 100 --- src/es/tumangaonline/build.gradle | 2 +- .../tachiyomi/extension/es/tumangaonline/TuMangaOnline.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/es/tumangaonline/build.gradle b/src/es/tumangaonline/build.gradle index 4b8b04474..91e259ad8 100644 --- a/src/es/tumangaonline/build.gradle +++ b/src/es/tumangaonline/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'TuMangaOnline' pkgNameSuffix = 'es.tumangaonline' extClass = '.TuMangaOnline' - extVersionCode = 35 + extVersionCode = 36 } dependencies { diff --git a/src/es/tumangaonline/src/eu/kanade/tachiyomi/extension/es/tumangaonline/TuMangaOnline.kt b/src/es/tumangaonline/src/eu/kanade/tachiyomi/extension/es/tumangaonline/TuMangaOnline.kt index bbd344714..909bfd397 100644 --- a/src/es/tumangaonline/src/eu/kanade/tachiyomi/extension/es/tumangaonline/TuMangaOnline.kt +++ b/src/es/tumangaonline/src/eu/kanade/tachiyomi/extension/es/tumangaonline/TuMangaOnline.kt @@ -569,7 +569,7 @@ class TuMangaOnline : ConfigurableSource, ParsedHttpSource() { private const val IMAGE_CDN_RATELIMIT_PREF_SUMMARY = "Este valor afecta la cantidad de solicitudes de red para descargar imágenes. Reducir este valor puede disminuir errores al cargar imagenes, pero la velocidad de descarga será más lenta. Se requiere reiniciar Tachiyomi. \nValor actual: %s" private const val IMAGE_CDN_RATELIMIT_PREF_DEFAULT_VALUE = "10" - private val ENTRIES_ARRAY = (1..10).map { i -> i.toString() }.toTypedArray() + private val ENTRIES_ARRAY = listOf(1,2,3,5,6,7,8,9,10,15,20,30,40,50,100).map { i -> i.toString() }.toTypedArray() const val PREFIX_LIBRARY = "library" const val PREFIX_ID_SEARCH = "id:"