From 5866865648d38d11ad6b4b726f7e45646c8c8c9a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 24 Sep 2023 19:26:28 +0200 Subject: [PATCH] Add ML workers and timeout https://github.com/alexbelgium/hassio-addons/issues/996 --- immich/config.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/immich/config.json b/immich/config.json index c08f7c06ae4..a9b583ad1a5 100644 --- a/immich/config.json +++ b/immich/config.json @@ -56,6 +56,8 @@ "environment": { "DOCKER_MODS": "imagegenius/mods:universal-redis", "MACHINE_LEARNING_CACHE_FOLDER": "/data/machine-learning", + "MACHINE_LEARNING_WORKERS": "1", + "MACHINE_LEARNING_WORKER_TIMEOUT": "120", "REDIS_HOSTNAME": "localhost", "REDIS_PORT": "6379", "TRANSFORMERS_CACHE": "/data/machine-learning", @@ -104,6 +106,8 @@ "DB_USERNAME": "str", "DISABLE_MACHINE_LEARNING": "bool?", "JWT_SECRET": "str", + "MACHINE_LEARNING_WORKERS": "int?", + "MACHINE_LEARNING_WORKER_TIMEOUT": "int?", "PGID": "int", "PUID": "int", "TYPESENSE_ENABLED": "bool", @@ -120,6 +124,6 @@ ], "slug": "immich", "url": "https://github.com/alexbelgium/hassio-addons", - "version": "1.79.1", + "version": "1.79.1-2", "webui": "http://[HOST]:[PORT:8080]" }