Ninja Scan: update timeout limit (#5155)
This commit is contained in:
parent
e935556bff
commit
0d6631ee22
|
@ -3,7 +3,7 @@ ext {
|
|||
extClass = '.NinjaScan'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://ninjacomics.xyz'
|
||||
overrideVersionCode = 1
|
||||
overrideVersionCode = 2
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue