This commit is contained in:
kunfei committed 2022-03-25 21:44:09 +08:00
1 parent 34b4222689
commit aec619a370
1 file changed
+4 -2
@@ -163,9 +163,11 @@ open class ChangeBookSourceViewModel(application: Application) : BaseViewModel(a
} }
} }
} }
}.timeout(60000L)
.onError {
nextSearch()
} }
.timeout(60000L) .onSuccess {
.onFinally {
nextSearch() nextSearch()
} }
tasks.add(task) tasks.add(task)