Skip to content

Commit ebbe3df

Browse files
author
Samuel Bodin
authored
fix: add new worker to bootstrap (#636)
1 parent bb333a0 commit ebbe3df

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
worker: yarn start
2+
worker_new: yarn start

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"doctoc": "doctoc --notitle --maxlevel 3 README.md",
1515
"lint": "eslint --ext=jsx,ts,tsx,js .",
1616
"prepare": "husky install",
17-
"start": "UV_THREADPOOL_SIZE=12 node -r dotenv/config --async-stack-traces --max-old-space-size=920 dist/index.js",
17+
"start": "UV_THREADPOOL_SIZE=12 node -r dotenv/config --async-stack-traces --max-old-space-size=420 dist/index.js",
18+
"start_new": "indexName=npm-search-new bootstrapIndexName=npm-search-new.tmp UV_THREADPOOL_SIZE=22 node --async-stack-traces --max-old-space-size=420 dist/index.js",
1819
"test:watch": "jest --watchAll --no-watchman",
1920
"test": "jest --forceExit"
2021
},

0 commit comments

Comments
 (0)