diff --git a/benchmark/docker-compose/docker-compose.yml b/benchmark/docker-compose/docker-compose.yml index 22356cdb..b39b9742 100644 --- a/benchmark/docker-compose/docker-compose.yml +++ b/benchmark/docker-compose/docker-compose.yml @@ -9,7 +9,7 @@ services: volumes: - "./pigallery2/benchmark_config:/app/data/config" # CHANGE ME - "db-benchmark-data:/app/data/db" - - "./pigallery2/images:/app/data/images" # CHANGE ME + - "./pigallery2/images:/app/data/images" # CHANGE ME, ':ro' mean read-only - "./pigallery2/tmp:/app/data/tmp" # CHANGE ME expose: - "80" diff --git a/src/backend/model/jobs/jobs/PreviewFillingJob.ts b/src/backend/model/jobs/jobs/PreviewFillingJob.ts index 87e30045..261dde6b 100644 --- a/src/backend/model/jobs/jobs/PreviewFillingJob.ts +++ b/src/backend/model/jobs/jobs/PreviewFillingJob.ts @@ -20,6 +20,7 @@ export class PreviewFillingJob extends Job { protected async step(): Promise { if (!this.directoryToSetPreview) { + this.Progress.log('Loading Directories to process'); this.directoryToSetPreview = await ObjectManagers.getInstance().PreviewManager.getPartialDirsWithoutPreviews(); this.Progress.Left = this.directoryToSetPreview.length + 2; return true; @@ -65,7 +66,7 @@ export class PreviewFillingJob extends Job { return false; } const directory = this.directoryToSetPreview.shift(); - this.Progress.log('Setting preview: ' + directory.path + '/' + directory.name); + this.Progress.log('Setting preview: ' + directory.path + directory.name); this.Progress.Left = this.directoryToSetPreview.length; await ObjectManagers.getInstance().PreviewManager.setAndGetPreviewForDirectory(directory);