@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
@@ -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, {
|
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);
|