优化
Some checks are pending
Test Build / prepare (push) Waiting to run
Test Build / build (app, release) (push) Blocked by required conditions
Test Build / build (app, releaseA) (push) Blocked by required conditions
Test Build / prerelease (push) Blocked by required conditions
Test Build / lanzou (push) Blocked by required conditions
Test Build / test_Branch (push) Blocked by required conditions
Test Build / telegram (push) Blocked by required conditions

This commit is contained in:
Horis
2025-01-31 12:31:28 +08:00
parent 5f43d63856
commit 3f819e281e

View File

@@ -138,7 +138,7 @@ class ImportBookViewModel(application: Application) : BaseViewModel(application)
channel.trySend(fileDoc)
val list = arrayListOf<FileDoc>()
channel.consumeAsFlow()
.mapParallel(64) { fileDoc ->
.mapParallel(16) { fileDoc ->
fileDoc.list()!!
}.onEach { fileDocs ->
n--