Skip to content

Commit

Permalink
Update rabbitmq examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dashersw committed Oct 26, 2015
1 parent 0a477c2 commit a6347af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rabbitmq/consumer.js
@@ -1,5 +1,5 @@
var amqp = require('amqp'),
connection = amqp.createConnection();
connection = amqp.createConnection({host:'localhost'});

connection.on('ready', function () {
connection.queue('work_queue', {autoDelete: false, durable: true}, function(queue) {
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/server.js
@@ -1,5 +1,5 @@
var amqp = require('amqp'),
connection = amqp.createConnection(),
connection = amqp.createConnection({host:'localhost'}),
workId = 0;

connection.on('ready', function() {
Expand Down

0 comments on commit a6347af

Please sign in to comment.