mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:06:56 -04:00
- increase checkBulkUpload chunking
This commit is contained in:
parent
5dbff72ca7
commit
371e06220a
@ -130,7 +130,7 @@ export const checkForDuplicates = async (files: string[], { concurrency, skipHas
|
||||
|
||||
results.push(dto);
|
||||
checkBulkUploadRequests.push(dto);
|
||||
if (checkBulkUploadRequests.length > concurrency) {
|
||||
if (checkBulkUploadRequests.length > 5000) {
|
||||
void checkBulkUploadQueue.push([...checkBulkUploadRequests]);
|
||||
checkBulkUploadRequests = [];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user