mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
refactor(server): job handlers (#2572)
* refactor(server): job handlers * chore: remove comment * chore: add comments for
This commit is contained in:
@@ -45,9 +45,6 @@ export class JobRepository implements IJobRepository {
|
||||
|
||||
private getJobOptions(item: JobItem): JobOptions | null {
|
||||
switch (item.name) {
|
||||
case JobName.ASSET_UPLOADED:
|
||||
return { jobId: item.data.asset.id };
|
||||
|
||||
case JobName.GENERATE_FACE_THUMBNAIL:
|
||||
return { priority: 1 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user