feat: store image metadata in sqlite and images on disk

This commit is contained in:
2025-01-05 21:27:31 +01:00
parent bf7d88a588
commit 20a2781214
18 changed files with 641 additions and 379 deletions

View File

@@ -87,7 +87,7 @@ export class ConcurrentPromiseQueue {
*/
private queues: PromiseQueue[] = [];
constructor(concurrency: number) {
constructor(concurrency: number = 1) {
this.queues = Array.from({ length: concurrency }).map(() => {
return new PromiseQueue();
});