diff --git a/server/apps/microservices/src/processors.ts b/server/apps/microservices/src/processors.ts index 0cfe32d5b9..a8c213361d 100644 --- a/server/apps/microservices/src/processors.ts +++ b/server/apps/microservices/src/processors.ts @@ -139,17 +139,17 @@ export class ThumbnailGeneratorProcessor { constructor(private mediaService: MediaService) {} @Process({ name: JobName.QUEUE_GENERATE_THUMBNAILS, concurrency: 1 }) - async handleQueueGenerateThumbnails(job: Job) { + async onQueueGenerateThumbnails(job: Job) { await this.mediaService.handleQueueGenerateThumbnails(job.data); } @Process({ name: JobName.GENERATE_JPEG_THUMBNAIL, concurrency: 3 }) - async handleGenerateJpegThumbnail(job: Job) { + async onGenerateJpegThumbnail(job: Job) { await this.mediaService.handleGenerateJpegThumbnail(job.data); } @Process({ name: JobName.GENERATE_WEBP_THUMBNAIL, concurrency: 3 }) - async handleGenerateWepbThumbnail(job: Job) { + async onGenerateWepbThumbnail(job: Job) { await this.mediaService.handleGenerateWepbThumbnail(job.data); } }