Skip to content

Commit

Permalink
Change queue url
Browse files Browse the repository at this point in the history
  • Loading branch information
pratishshr committed Sep 10, 2019
1 parent 2177343 commit 9fb9995
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deployment/services/mq/mq.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ func failOnError(err error, msg string) {
}
}

func getQueue() (*amqp.Connection, *amqp.Channel, *amqp.Queue) {
conn, err := amqp.Dial("amqp://shift:shiftdeveloper@localhost:5672")
// GetConnection returns the connection to rabbitmq
func GetConnection() *amqp.Connection {
conn, err := amqp.Dial("amqp://shift:shiftdeveloper@dev-shiftmq.lftechnology.com:5672")

failOnError(err, "Failed to connect to RabbitMQ")

Expand Down

0 comments on commit 9fb9995

Please sign in to comment.