High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): double counting cores when processor name includes the word "processor" (#10211)
Zack Pollard07156135c2e5
diff --git a/docker/scripts/get-cpus.sh b/docker/scripts/get-cpus.shindex 7e5ca78a1b..fe9e2ac611 100755--- a/docker/scripts/get-cpus.sh+++ b/docker/scripts/get-cpus.sh@@ -43,7 +43,7 @@ if [ -n "${quota:-}" ] && [ -n "${period:-}" ]; thencpus=1fielse- cpus=$(grep -c processor /proc/cpuinfo)+ cpus=$(grep -c ^processor /proc/cpuinfo)fiecho "$cpus"