From b7af733e2665715534b9d4ed618f605d07a9c95a Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 11 Nov 2019 15:09:24 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/main/MainViewModel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt b/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt index 23c4b7511..7fe551f55 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt @@ -35,6 +35,7 @@ class MainViewModel(application: Application) : BaseViewModel(application) { postEvent(Bus.UP_BOOK, book.bookUrl) } WebBook(bookSource).getChapterList(book) + .timeout(300000) .onSuccess(IO) { synchronized(this) { updateList.remove(book.bookUrl)