mirror of
https://github.com/immich-app/immich.git
synced 2025-11-01 19:17:12 -04: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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user