@tiledesk/tiledesk-server 2.4.14 → 2.4.15

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.4.14",
4
+ "version": "2.4.15",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -83,7 +83,9 @@ function startPublisher() {
83
83
  // method to publish a message, will queue messages internally if the connection is down and resend later
84
84
  function publish(exchange, routingKey, content) {
85
85
  try {
86
- pubChannel.publish(exchange, routingKey, content, { persistent: true },
86
+ pubChannel.publish(exchange, routingKey, content, {},
87
+ // pubChannel.publish(exchange, routingKey, content, { persistent: true },
88
+
87
89
  function(err, ok) {
88
90
  if (err) {
89
91
  winston.error("[AMQP] publish", err);