Skip to content

Commit 595f3c3

Browse files
committed
limit ThreadPool
1 parent 4e7ac8f commit 595f3c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ ENV NODE_OPTIONS="--openssl-legacy-provider --max-old-space-size=4096"
1111
RUN npm install
1212
COPY . .
1313
RUN npm run build
14-
CMD ["npm","run","start"]
14+
CMD ["npm","run","start:prod"]
1515

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"start": "nest start",
1212
"start:dev": "nest start --watch",
1313
"start:debug": "nest start --debug --watch",
14-
"start:prod": "node dist/main",
14+
"start:prod": "UV_THREADPOOL_SIZE='7' node dist/main",
1515
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
1616
"test": "jest",
1717
"test:newman": "ts-node ./test/promptValue.ts && newman run studio-api.postman_collection.json -e environment.json",

0 commit comments

Comments
 (0)