refactor: use separate queue for integrity checks

This commit is contained in:
izzy
2025-12-17 14:37:43 +00:00
parent 6e7854b5bb
commit 8fdec465c5
11 changed files with 62 additions and 20 deletions

View File

@@ -18903,7 +18903,8 @@
"notifications",
"backupDatabase",
"ocr",
"workflow"
"workflow",
"integrityCheck"
],
"type": "string"
},
@@ -19016,6 +19017,9 @@
"facialRecognition": {
"$ref": "#/components/schemas/QueueResponseLegacyDto"
},
"integrityCheck": {
"$ref": "#/components/schemas/QueueResponseLegacyDto"
},
"library": {
"$ref": "#/components/schemas/QueueResponseLegacyDto"
},
@@ -19059,6 +19063,7 @@
"duplicateDetection",
"faceDetection",
"facialRecognition",
"integrityCheck",
"library",
"metadataExtraction",
"migration",
@@ -21971,6 +21976,9 @@
"faceDetection": {
"$ref": "#/components/schemas/JobSettingsDto"
},
"integrityCheck": {
"$ref": "#/components/schemas/JobSettingsDto"
},
"library": {
"$ref": "#/components/schemas/JobSettingsDto"
},
@@ -22008,6 +22016,7 @@
"required": [
"backgroundTask",
"faceDetection",
"integrityCheck",
"library",
"metadataExtraction",
"migration",

View File

@@ -746,6 +746,7 @@ export type QueuesResponseLegacyDto = {
duplicateDetection: QueueResponseLegacyDto;
faceDetection: QueueResponseLegacyDto;
facialRecognition: QueueResponseLegacyDto;
integrityCheck: QueueResponseLegacyDto;
library: QueueResponseLegacyDto;
metadataExtraction: QueueResponseLegacyDto;
migration: QueueResponseLegacyDto;
@@ -1491,6 +1492,7 @@ export type JobSettingsDto = {
export type SystemConfigJobDto = {
backgroundTask: JobSettingsDto;
faceDetection: JobSettingsDto;
integrityCheck: JobSettingsDto;
library: JobSettingsDto;
metadataExtraction: JobSettingsDto;
migration: JobSettingsDto;
@@ -5506,7 +5508,8 @@ export enum QueueName {
Notifications = "notifications",
BackupDatabase = "backupDatabase",
Ocr = "ocr",
Workflow = "workflow"
Workflow = "workflow",
IntegrityCheck = "integrityCheck"
}
export enum QueueCommand {
Start = "start",