mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 01:11:16 +03:00
refactor: new asset-job repository (#17622)
* refactor: new asset-job repository * fix: broken medium tests on main
This commit is contained in:
@@ -172,7 +172,7 @@ export class AssetService extends BaseService {
|
||||
}
|
||||
};
|
||||
|
||||
const assets = this.assetRepository.streamDeletedAssets(trashedBefore);
|
||||
const assets = this.assetJobRepository.streamForDeletedJob(trashedBefore);
|
||||
for await (const asset of assets) {
|
||||
chunk.push(asset);
|
||||
if (chunk.length >= JOBS_ASSET_PAGINATION_SIZE) {
|
||||
|
||||
Reference in New Issue
Block a user