mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
fix: skip ML availability check if ML is disabled (#23053)
This commit is contained in:
@@ -85,7 +85,7 @@ export class MachineLearningRepository {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.availabilityChecks.enabled) {
|
if (!config.enabled || !config.availabilityChecks.enabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user