Skip to content

Commit 52b865a

Browse files
committed
feat: add experimental configuration for worker threads and CPU limit
1 parent 369d2bc commit 52b865a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

next.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
/* config options here */
5+
experimental: {
6+
workerThreads: false,
7+
cpus: 1, // Limit to 1 CPU core
8+
},
59
};
610

711
export default nextConfig;

0 commit comments

Comments
 (0)