mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: job names (#1343)
* refactor: job names * refactor: remove jobId
This commit is contained in:
parent
adacfb1110
commit
693adf8488
19 changed files with 125 additions and 289 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { AssetEntity } from '@app/infra';
|
||||
import { QueueNameEnum } from '@app/job';
|
||||
import { QueueName } from '@app/job';
|
||||
import { Process, Processor } from '@nestjs/bull';
|
||||
import { Logger } from '@nestjs/common';
|
||||
import { InjectRepository } from '@nestjs/typeorm';
|
||||
|
|
@ -8,7 +8,7 @@ import fs from 'node:fs';
|
|||
import { FindOptionsWhere, IsNull, MoreThan, QueryFailedError, Repository } from 'typeorm';
|
||||
|
||||
// TODO: just temporary task to generate previous uploaded assets.
|
||||
@Processor(QueueNameEnum.CHECKSUM_GENERATION)
|
||||
@Processor(QueueName.CHECKSUM_GENERATION)
|
||||
export class GenerateChecksumProcessor {
|
||||
constructor(
|
||||
@InjectRepository(AssetEntity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue