summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-07-25 20:13:07 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-07-25 20:13:07 +0200
commit6214af690fb273fcb1aeb9bf30813051fb05e633 (patch)
tree773a3ac9877778e8b74df085171962517b159e56
parentbe4f5c1b4e9641d57956fe5685ef867186c1fad2 (diff)
downloadtelesucker-6214af690fb273fcb1aeb9bf30813051fb05e633.tar.gz
telesucker-6214af690fb273fcb1aeb9bf30813051fb05e633.zip
PROCESS_QUEUE -> SHRINK_QUEUE
-rw-r--r--worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 18de020..de5a341 100644
--- a/worker.js
+++ b/worker.js
@@ -106,7 +106,7 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => {
if (phase.data.length > 0) {
const notify = "match." + match_api_id;
await ch.publish("amq.topic", notify, new Buffer("phase_pending"));
- await ch.sendToQueue(PROCESS_QUEUE, new Buffer(
+ await ch.sendToQueue(SHRINK_QUEUE, new Buffer(
JSON.stringify(phase)), {
persistent: true, type: "telemetry",
headers: { notify }