Skip to content

Commit

Permalink
limit ThreadPool
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 committed Nov 29, 2024
1 parent 4e7ac8f commit 595f3c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ ENV NODE_OPTIONS="--openssl-legacy-provider --max-old-space-size=4096"
RUN npm install
COPY . .
RUN npm run build
CMD ["npm","run","start"]
CMD ["npm","run","start:prod"]

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:prod": "UV_THREADPOOL_SIZE='7' node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:newman": "ts-node ./test/promptValue.ts && newman run studio-api.postman_collection.json -e environment.json",
Expand Down

0 comments on commit 595f3c3

Please sign in to comment.