From fda35295a35e807709e1ef8b8d4dfb1e443f4d8a Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 3 Apr 2017 16:05:25 +0200 Subject: redesign web notification --- worker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'worker.js') 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")) )); } })(); -- cgit v1.3.1