fix: add integrity report repository to service depends.

This commit is contained in:
izzy
2025-11-27 16:34:28 +00:00
parent 4462683739
commit 03276de6b2
2 changed files with 17 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ export const BASE_SERVICE_DEPENDENCIES = [
DuplicateRepository,
EmailRepository,
EventRepository,
IntegrityReportRepository,
JobRepository,
LibraryRepository,
MachineLearningRepository,

View File

@@ -72,6 +72,22 @@ const updatedConfig = Object.freeze<SystemConfig>({
accelDecode: false,
tonemap: ToneMapping.Hable,
},
integrityChecks: {
orphanedFiles: {
enabled: true,
cronExpression: '0 03 * * *',
},
missingFiles: {
enabled: true,
cronExpression: '0 03 * * *',
},
checksumFiles: {
enabled: true,
cronExpression: '0 03 * * *',
timeLimit: 60 * 60 * 1000,
percentageLimit: 1.0,
},
},
logging: {
enabled: true,
level: LogLevel.Log,