From 98ce52de77c315ae1580872d01ecbd98fba9749a Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 3 Apr 2017 16:04:16 +0200 Subject: redesign web notification --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.js b/worker.js index 65befbc..a943d8c 100644 --- a/worker.js +++ b/worker.js @@ -260,7 +260,7 @@ var RABBITMQ_URI = process.env.RABBITMQ_URI || "amqp://localhost", // notify web await Promise.all(player_records.map(async (p) => - await ch.publish("amq.topic", p.name, new Buffer("process_commit")) )); + await ch.publish("amq.topic", "player." + p.name, new Buffer("matches_update")) )); if (match_records.length > 0) await ch.publish("amq.topic", "global", new Buffer("matches_update")); } -- cgit v1.3.1