diff --git a/src/pt/ninjascan/build.gradle b/src/pt/ninjascan/build.gradle index 09da7e2d6..15feffa8e 100644 --- a/src/pt/ninjascan/build.gradle +++ b/src/pt/ninjascan/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.NinjaScan' themePkg = 'madara' baseUrl = 'https://ninjacomics.xyz' - overrideVersionCode = 1 + overrideVersionCode = 2 isNsfw = false } diff --git a/src/pt/ninjascan/src/eu/kanade/tachiyomi/extension/pt/ninjascan/NinjaScan.kt b/src/pt/ninjascan/src/eu/kanade/tachiyomi/extension/pt/ninjascan/NinjaScan.kt index 7ffeef4c9..2781da9be 100644 --- a/src/pt/ninjascan/src/eu/kanade/tachiyomi/extension/pt/ninjascan/NinjaScan.kt +++ b/src/pt/ninjascan/src/eu/kanade/tachiyomi/extension/pt/ninjascan/NinjaScan.kt @@ -4,6 +4,7 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.network.interceptor.rateLimit import java.text.SimpleDateFormat import java.util.Locale +import java.util.concurrent.TimeUnit class NinjaScan : Madara( "Ninja Scan", @@ -12,6 +13,8 @@ class NinjaScan : Madara( SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")), ) { override val client = super.client.newBuilder() + .connectTimeout(5, TimeUnit.MINUTES) + .readTimeout(5, TimeUnit.MINUTES) .rateLimit(2) .build()