This commit is contained in:
Horis 2023-06-20 23:30:32 +08:00
parent 0f3ab21a81
commit 9158f63911
2 changed files with 1 additions and 2 deletions

View File

@ -183,7 +183,7 @@ data class BookSource(
fun getInvalidGroupNames(): String {
return bookSourceGroup?.splitNotBlank(AppPattern.splitGroupRegex)?.toHashSet()?.filter {
"失效" in it
"失效" in it || it == "校验超时"
}?.joinToString() ?: ""
}

View File

@ -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)