diff options
Diffstat (limited to 'worker.js')
| -rw-r--r-- | worker.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -810,8 +810,9 @@ function flatten(obj) { ); } - await ch.publish("amq.topic", m.properties.headers.notify, - new Buffer(notif)); + if (m.properties.headers.donotify == true) // TODO remove later + await ch.publish("amq.topic", m.properties.headers.notify, + new Buffer(notif)); }); // …global about new matches if (match_records.length > 0) |
