mirror of
https://github.com/immich-app/immich.git
synced 2025-12-05 20:40:29 -08: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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user