Skip to content

Commit

Permalink
Update run
Browse files Browse the repository at this point in the history
  • Loading branch information
hydazz authored Jul 13, 2024
1 parent 80550b4 commit 9911bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-microservices/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
export LD_PRELOAD="$lib_path"

: "${CPU_CORES:="$(/app/immich/server/scripts/get-cpus.sh)"}"
"${CPU_CORES:="$(/app/immich/server/scripts/get-cpus.sh)"}"
echo "Detected CPU Cores: ${CPU_CORES}"
if [ "${CPU_CORES}" -gt 4 ]; then
export UV_THREADPOOL_SIZE=${CPU_CORES}
Expand Down

0 comments on commit 9911bea

Please sign in to comment.