From af7da9d2c9ea25c5c96f72474e4c0473a1c1b5c4 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Thu, 4 May 2023 12:40:34 -0400 Subject: [PATCH] chore: standardize process method names (#2363) --- server/apps/microservices/src/processors.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }