We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce6338b commit 08420abCopy full SHA for 08420ab
1 file changed
lib/sockets.js
@@ -161,7 +161,7 @@ PubSocket.prototype.connect = function(destination, callback) {
161
var self = this, ch = this.ch;
162
ch.assertExchange(destination,
163
this.options.routing || 'fanout',
164
- {durable: this.options.persistent,
+ {durable: false,
165
autoDelete: true})
166
.then(function(ok) {
167
self.pubs.push(destination);
@@ -220,8 +220,7 @@ SubSocket.prototype.connect = function(source, callback) {
220
var ch = this.ch, queue = this.queue, self = this;
221
ch.assertExchange(source,
222
223
224
- autoDelete: true})
+ {autoDelete: true})
225
226
self.subs.push(source);
227
self.patterns.forEach(function(pat) {
0 commit comments