From 3fdaf484b3d29cebb1a63d6f7eb6223cba263622 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sun, 25 Aug 2024 12:27:26 +0800 Subject: [PATCH] fix(immich): ML pull kill after 10 minutes --- kube/deploy/apps/immich/app/hr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube/deploy/apps/immich/app/hr.yaml b/kube/deploy/apps/immich/app/hr.yaml index 0408867c..7ab805c0 100644 --- a/kube/deploy/apps/immich/app/hr.yaml +++ b/kube/deploy/apps/immich/app/hr.yaml @@ -152,7 +152,7 @@ spec: image: repository: ghcr.io/immich-app/immich-machine-learning tag: v1.112.1@sha256:9600eff5a66ae426293f00b171711bc1647c85cf966d759ee08ab2d05e0580b5 - command: ["/tini", "--"] + command: ["tini", "--"] args: ["/bin/sh", "-c", "tini -s -g -- /bin/sh -c 'exec ./start.sh' & read -t 600 || kill -SIGINT $!"] # run for 10 minutes to pull models via preload, then kill process, hopefully it doesn't crash env: # default models as of v1.112.1