diff --git a/app/src/main/java/io/legado/app/service/DownloadService.kt b/app/src/main/java/io/legado/app/service/DownloadService.kt index 9c3c55381..b21d4e36e 100644 --- a/app/src/main/java/io/legado/app/service/DownloadService.kt +++ b/app/src/main/java/io/legado/app/service/DownloadService.kt @@ -188,7 +188,7 @@ class DownloadService : BaseService() { bookChapter, scope = this, context = searchPool - ).timeout(3000L) + ).timeout(60000L) .onError { synchronized(this) { downloadingList.remove(bookChapter.url) 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 3f7ddb67f..c387e526c 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,7 +50,7 @@ class CheckSource(val source: BookSource) { ): Coroutine<*> { val webBook = WebBook(source) return webBook.searchBook(keyword, scope = scope, context = context) - .timeout(6000L) + .timeout(60000L) .onError(Dispatchers.IO) { source.addGroup("失效") App.db.bookSourceDao().update(source)