summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-15 15:46:39 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-15 15:46:39 +0200
commit127ab8e6282911453220e7a21f06869ecacaab6c (patch)
tree1354065d9b382a695bbc557d7775d32bec818754
parentaff07667905e500e33bf1405d17460bb815017ca (diff)
downloadcruncher-127ab8e6282911453220e7a21f06869ecacaab6c.tar.gz
cruncher-127ab8e6282911453220e7a21f06869ecacaab6c.zip
rename scaling env var
-rw-r--r--worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 75bb37e..83595b7 100644
--- a/worker.js
+++ b/worker.js
@@ -114,7 +114,7 @@ var RABBITMQ_URI = process.env.RABBITMQ_URI,
global_points = calculate_point(cartesian(global_dimensions),
"global");
- await ch.prefetch(PARALLELS);
+ await ch.prefetch(CRUNCHERS);
ch.consume("crunch", async (msg) => {
let player_records = [],