diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-15 15:18:47 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-15 15:18:47 +0200 |
| commit | aff07667905e500e33bf1405d17460bb815017ca (patch) | |
| tree | 08aca14d69625fbc5d722b359105dc8533700313 | |
| parent | da3742051f23677dddbff6dbf34686afffa289aa (diff) | |
| download | cruncher-aff07667905e500e33bf1405d17460bb815017ca.tar.gz cruncher-aff07667905e500e33bf1405d17460bb815017ca.zip | |
rename scaling env var
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ var amqp = require("amqplib"), var RABBITMQ_URI = process.env.RABBITMQ_URI, DATABASE_URI = process.env.DATABASE_URI, - PARALLELS = process.env.PARALLELS || 5; // how many players to crunch concurrently + CRUNCHERS = process.env.CRUNCHERS || 4; // how many players to crunch concurrently (async () => { let seq, model, rabbit, ch; |
