优化
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user