mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: remove debug code
This commit is contained in:
@@ -104,24 +104,6 @@ export class IntegrityService extends BaseService {
|
|||||||
start: checksumFiles.enabled,
|
start: checksumFiles.enabled,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// debug: run on boot
|
|
||||||
setTimeout(() => {
|
|
||||||
void this.jobRepository.queue({
|
|
||||||
name: JobName.IntegrityOrphanedFilesQueueAll,
|
|
||||||
data: {},
|
|
||||||
});
|
|
||||||
|
|
||||||
void this.jobRepository.queue({
|
|
||||||
name: JobName.IntegrityMissingFilesQueueAll,
|
|
||||||
data: {},
|
|
||||||
});
|
|
||||||
|
|
||||||
void this.jobRepository.queue({
|
|
||||||
name: JobName.IntegrityChecksumFiles,
|
|
||||||
data: {},
|
|
||||||
});
|
|
||||||
}, 1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@OnEvent({ name: 'ConfigUpdate', server: true })
|
@OnEvent({ name: 'ConfigUpdate', server: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user