diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-14 13:13:06 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-14 13:13:06 +0200 |
| commit | 76d34a2df37ec24150cd020984ac7e2ae5e85873 (patch) | |
| tree | ab48c8bef4189cf95d6fa3a3658710612d693bd1 | |
| parent | bddb6f79d29c9f18ba7542c7823d11fec01e0149 (diff) | |
| download | shrinker-76d34a2df37ec24150cd020984ac7e2ae5e85873.tar.gz shrinker-76d34a2df37ec24150cd020984ac7e2ae5e85873.zip | |
send notifications for everything
| -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) |
