Browse Source

added better run script

cjs3
Stephen Lorenz 3 years ago
parent
commit
9aa9057044
  1. 1
      .gitignore
  2. 5
      run_cjs

1
.gitignore

@ -1,6 +1,5 @@
# cjs
cjs-data/
run_cjs
# cjsd
cjsd/cjsd/.app

5
run_cjs

@ -1,7 +1,10 @@
#!/usr/bin/env bash
num_workers=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
echo Starting $num_workers workers
sleep $(($RANDOM % 60))
source .env/bin/activate
cjs automate --num_workers 4 efm debug
cjs --address 128.153.145.175 --port 80 automate --num_workers $num_workers efm debug
Loading…
Cancel
Save