Remove debug line
This commit is contained in:
parent
c459226604
commit
105b7e3c75
1 changed files with 0 additions and 1 deletions
|
@ -55,7 +55,6 @@ rabbitmq.on('ready', function () {
|
||||||
rabbitmq.queue('', {exclusive: true}, function (q) {
|
rabbitmq.queue('', {exclusive: true}, function (q) {
|
||||||
q.bind(argv._[1], '#');
|
q.bind(argv._[1], '#');
|
||||||
q.subscribe(function (data) {
|
q.subscribe(function (data) {
|
||||||
console.log(data);
|
|
||||||
message = JSON.parse(data.data.toString('utf8'));
|
message = JSON.parse(data.data.toString('utf8'));
|
||||||
messages.push(message);
|
messages.push(message);
|
||||||
if (messages.length > max_queue)
|
if (messages.length > max_queue)
|
||||||
|
|
Loading…
Reference in a new issue