Reduce shared-server build concurrency and memory pressure
This commit is contained in:
@@ -2,6 +2,10 @@ import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
experimental: {
|
||||
cpus: process.env.NEXT_BUILD_CPUS ? Math.max(1, Math.min(2, Number(process.env.NEXT_BUILD_CPUS) || 2)) : 2,
|
||||
memoryBasedWorkersCount: false,
|
||||
},
|
||||
poweredByHeader: false,
|
||||
images: { qualities: [75, 85] },
|
||||
async redirects() {
|
||||
|
||||
Reference in New Issue
Block a user