Raise production memory limits

Increases maxmempool production bitcoin.conf setting to 2GB,
and raises `npm run start-production` nodejs memory limit to 8GB
This commit is contained in:
Mononaut 2023-02-17 10:12:33 -06:00
parent ae9f98f26c
commit 77686821ba
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
"package": "npm run build && rm -rf package && mv dist package && mv node_modules package && npm run package-rm-build-deps",
"package-rm-build-deps": "(cd package/node_modules; rm -r typescript @typescript-eslint)",
"start": "node --max-old-space-size=2048 dist/index.js",
"start-production": "node --max-old-space-size=4096 dist/index.js",
"start-production": "node --max-old-space-size=16384 dist/index.js",
"test": "./node_modules/.bin/jest --coverage",
"lint": "./node_modules/.bin/eslint . --ext .ts",
"lint:fix": "./node_modules/.bin/eslint . --ext .ts --fix",

View File

@ -5,7 +5,7 @@ listen=1
discover=1
par=16
dbcache=8192
maxmempool=1337
maxmempool=4096
mempoolexpiry=999999
maxconnections=42
onion=127.0.0.1:9050