summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 066310d..652faf7 100644
--- a/worker.js
+++ b/worker.js
@@ -196,6 +196,7 @@ var RABBITMQ_URI = process.env.RABBITMQ_URI || "amqp://localhost",
await ch.ack(msgs.pop(), true); // ack all messages until the last
// notify web
- await Promise.all(players.map(async (p) => await ch.publish("amq.topic", p.name, new Buffer("compile_commit")) ));
+ await Promise.all(players.map(async (p) => await ch.publish("amq.topic", "player." + p.name,
+ new Buffer("stats_update")) ));
}
})();