fix (pi): simpler path for low power devices

This commit is contained in:
MickaelK
2026-06-08 22:24:55 +10:00
parent e93bbfaaa8
commit b0a214a9d2
+2 -1
View File
@@ -13,6 +13,7 @@ import (
"os"
"path/filepath"
"regexp"
"runtime"
"strconv"
"strings"
"text/template"
@@ -453,7 +454,7 @@ func ServeBundle() func(*App, http.ResponseWriter, *http.Request) {
}
quality := 11
if isDebug {
if isDebug || runtime.NumCPU() <= 4 {
quality = 8
}
chunks, chunksBr, chunksGzip, etags := buildChunks(quality)