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