quak backup works on up to the content pool's limit of originals at once (closes #182)
check / check (push) Waiting to run

lib.backup() ran its originals one at a time, so the content pool's five
slots, or the contentConcurrency of the pools a library was opened with,
went unused. The work for one original, its verify hashing included, is
now storeOriginal, and that many workers take files from one iterator
over the backup's files, so no more originals than the limit are open at
once. BackupLibrary gains contentConcurrency, which the library sets from
its content pool. The README's "Request pools" says so.

Model: opus-5-5
This commit is contained in:
2026-10-14 03:16:13 +00:00
parent e9067f8f84
commit bd986d586a
6 changed files with 94 additions and 67 deletions
+1
View File
@@ -1490,6 +1490,7 @@ describe("backup album folders", () => {
thumbnail: async () => {
throw new Error("no thumbnails in this stand-in");
},
contentConcurrency: 5,
fetchMLData: async () => {},
mlData: async () => undefined,
whoami: () => ({ email: "backup@example.com", userID: USER_ID }),