Skip to content

Commit 1f70046

Browse files
committed
set workerTaskTimeout in package.json start script
1 parent c9d1b8a commit 1f70046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prebuild": "rimraf dist",
2323
"build": "tsc",
2424
"watch": "tsc -w",
25-
"start": "npm run build && fastify start -T 60000 -l info dist/app.js",
25+
"start": "npm run build && fastify start -T 60000 -l info dist/app.js -- --workerTaskTimeout 10000",
2626
"download-default-model": "node ./dist/loadDefaultModel.js",
2727
"dev": "npm run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:watch\" \"npm:dev:start\"",
2828
"dev:start": "fastify start --ignore-watch=.ts$ -w -l info -P dist/app.js",

0 commit comments

Comments
 (0)