Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
hnasr committed Jul 5, 2020
1 parent 5650a0f commit 9bea69b
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ connect();
async function connect() {

try {
const amqpServer = "amqp://tkgdqstw:[email protected]/tkgdqstw" //"amqp://localhost:5672"
const amqpServer = "amqp://localhost:5672"
const connection = await amqp.connect(amqpServer)
const channel = await connection.createChannel();
await channel.assertQueue("jobs");
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/publisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ connect();
async function connect() {

try {
const amqpServer = "amqp://tkgdqstw:[email protected]/tkgdqstw" //"amqp://localhost:5672"
const amqpServer = "amqp://localhost:5672"
const connection = await amqp.connect(amqpServer)
const channel = await connection.createChannel();
await channel.assertQueue("jobs");
Expand Down

0 comments on commit 9bea69b

Please sign in to comment.