mirror of
https://github.com/gedoor/legado.git
synced 2024-07-17 00:58:29 +08:00
优化
This commit is contained in:
parent
0f3ab21a81
commit
9158f63911
@ -183,7 +183,7 @@ data class BookSource(
|
||||
|
||||
fun getInvalidGroupNames(): String {
|
||||
return bookSourceGroup?.splitNotBlank(AppPattern.splitGroupRegex)?.toHashSet()?.filter {
|
||||
"失效" in it
|
||||
"失效" in it || it == "校验超时"
|
||||
}?.joinToString() ?: ""
|
||||
}
|
||||
|
||||
|
@ -188,7 +188,6 @@ class CheckSourceService : BaseService() {
|
||||
"" else "\n\n${source.bookSourceComment}"
|
||||
Debug.updateFinalMessage(source.bookSourceUrl, "校验失败:${it.localizedMessage}")
|
||||
}.onSuccess(searchCoroutine) {
|
||||
source.removeGroup("校验超时")
|
||||
Debug.updateFinalMessage(source.bookSourceUrl, "校验成功")
|
||||
}.onFinally(IO) {
|
||||
source.respondTime = Debug.getRespondTime(source.bookSourceUrl)
|
||||
|
Loading…
Reference in New Issue
Block a user