mirror of
https://github.com/immich-app/immich.git
synced 2025-11-03 02:57:10 -05:00
fix: skip ML availability check if ML is disabled (#23053)
This commit is contained in:
parent
06151ad173
commit
e14d5fb277
@ -85,7 +85,7 @@ export class MachineLearningRepository {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.availabilityChecks.enabled) {
|
if (!config.enabled || !config.availabilityChecks.enabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user