Commit 8e99ffde authored by Hugo Kerstens's avatar Hugo Kerstens

Add scaling arguments to celery for yarn dev

parent 500e9b22
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"main": "index.js", "main": "index.js",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"scripts": { "scripts": {
"dev": "concurrently --kill-others --names \"WEBPACK,PYTHON,CELERY\" --prefix-colors \"bgBlue.bold,bgGreen.bold,bgRed.bold\" \"webpack-dev-server --hot --inline --progress --config webpack.dev.js\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg python3 zesje\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg celery -A zesje.celery worker\"", "dev": "concurrently --kill-others --names \"WEBPACK,PYTHON,CELERY\" --prefix-colors \"bgBlue.bold,bgGreen.bold,bgRed.bold\" \"webpack-dev-server --hot --inline --progress --config webpack.dev.js\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg python3 zesje\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg celery -A zesje.celery worker -l info --autoscale=4,1 --max-tasks-per-child=16\"",
"build": "webpack --config webpack.prod.js", "build": "webpack --config webpack.prod.js",
"ci": "yarn lint; yarn test", "ci": "yarn lint; yarn test",
"lint": "yarn lint:js; yarn lint:py", "lint": "yarn lint:js; yarn lint:py",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment