fix: memory leak fixes for nextjs.

Addresses high memory usage by adding gzip compression to nginx (removing it from nextjs)
socket cleanup handling, and tRPC client optimizations.

Ref: https://github.com/homarr-labs/homarr/issues/3759
This commit is contained in:
KimP0ssible-no committed 2026-04-15 12:15:29 +02:00
1 parent 6a45645354
commit c5e69c3e40
7 files changed
+41 -4

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ TASKS_PID=$!
node apps/websocket/wssServer.cjs &
WSS_PID=$!
node apps/nextjs/server.js &
node --require apps/nextjs/socket-cleanup.cjs apps/nextjs/server.js &
NEXTJS_PID=$!
# Function to handle SIGTERM and shut down services