perf(import): adjustable concurrency and skip redundant SWF downloads
CI / check (push) Successful in 2m22s
CI / deploy (push) Successful in 1m12s
CI / publish-container (push) Successful in 44s

Raise batch concurrency (furni 3->12, clone 10->12) with a Speed control next to Translate. Skip the SWF download when a .nitro bundle already exists on disk (color variants share the base nitro), and stop flagging that as a failed download.
This commit is contained in:
openhands committed 2026-09-13 12:14:52 +02:00
1 parent 641b6b8cb8
commit 2a708b01b1
5 files changed
+42 -5

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ export interface RunSseBatchOptions<T> {
*/
export function runSseBatch<T>(opts: RunSseBatchOptions<T>): Response {
const { items, labelOf, worker, signal, flush } = opts;
const concurrency = Math.min(Math.max(opts.concurrency || 3, 1), 10);
const concurrency = Math.min(Math.max(opts.concurrency || 3, 1), 12);
const encoder = new TextEncoder();
const ac = new AbortController();