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:
1 parent
6a45645354
commit
c5e69c3e40
7 files changed
+41
-4
No files matched your search
@@ -19,6 +19,7 @@ const withNextIntl = createNextIntlPlugin({
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
compress: false, // Workaround for vercel/next.js#89091 - zlib retains ServerResponse after client disconnect, causing CLOSE-WAIT socket leak
|
||||
reactStrictMode: true,
|
||||
// react compiler breaks mantine-react-table, so disabled for now
|
||||
//reactCompiler: true,
|
||||
|
||||
Reference in new issue
Block a user