Skip to content

Commit e14d5fb

Browse files
authored
fix: skip ML availability check if ML is disabled (immich-app#23053)
1 parent 06151ad commit e14d5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/repositories/machine-learning.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class MachineLearningRepository {
8585
}
8686
}
8787

88-
if (!config.availabilityChecks.enabled) {
88+
if (!config.enabled || !config.availabilityChecks.enabled) {
8989
return;
9090
}
9191

0 commit comments

Comments
 (0)