mirror of
https://github.com/immich-app/immich.git
synced 2026-03-06 10:07:48 +03:00
refactor: job names (#19949)
This commit is contained in:
@@ -64,8 +64,8 @@ export class SmartInfoService extends BaseService {
|
||||
});
|
||||
}
|
||||
|
||||
@OnJob({ name: JobName.QueueSmartSearch, queue: QueueName.SmartSearch })
|
||||
async handleQueueEncodeClip({ force }: JobOf<JobName.QueueSmartSearch>): Promise<JobStatus> {
|
||||
@OnJob({ name: JobName.SmartSearchQueueAll, queue: QueueName.SmartSearch })
|
||||
async handleQueueEncodeClip({ force }: JobOf<JobName.SmartSearchQueueAll>): Promise<JobStatus> {
|
||||
const { machineLearning } = await this.getConfig({ withCache: false });
|
||||
if (!isSmartSearchEnabled(machineLearning)) {
|
||||
return JobStatus.Skipped;
|
||||
|
||||
Reference in New Issue
Block a user