Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
Update amqplib_ascoltatore.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shadyvd authored Feb 14, 2018
1 parent 7331b9e commit c1d6f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amqplib_ascoltatore.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ AMQPLibAscoltatore.prototype._startConn = function () {
function(callback){
debug('channel created');
that._queue = that._opts.queue || util.buildIdentifier();
that._channel.assertQueue(that._queue, {durable: (that._opts.durableQueue !== false)}, wrap(callback));
that._channel.assertQueue(that._queue, {durable: !!that._opts.durableQueue}, wrap(callback));
},

function (callback){
Expand Down

0 comments on commit c1d6f9c

Please sign in to comment.