diff --git a/app/src/main/java/io/legado/app/service/help/CheckSource.kt b/app/src/main/java/io/legado/app/service/help/CheckSource.kt index 5d8c6876b..7a1440cf6 100644 --- a/app/src/main/java/io/legado/app/service/help/CheckSource.kt +++ b/app/src/main/java/io/legado/app/service/help/CheckSource.kt @@ -50,6 +50,7 @@ class CheckSource(val source: BookSource) { ): Coroutine<*> { val webBook = WebBook(source) return webBook.searchBook(keyword, scope = scope, context = context) + .timeout(3000L) .onError(Dispatchers.IO) { source.addGroup("失效") App.db.bookSourceDao().update(source)