Closed christianpbrink closed 11 years ago
I changed openConnection so that it will resolve hostnames: https://github.com/hreinhardt/amqp/commit/41831999c2ffd5001b451c96572c3f538e614c26 I actually don't remember why I didn't do this before, probably an oversight.
Works. Thank you.
Not really an issue, just a question.
I'm using your module on Heroku, where my RabbitMQ service is provided by CloudAMQP. Since you require that
host
be an IP string, I'm doing a DNS lookup on Heroku's CLOUDAMQP_URL environment variable before I callopenConnection
. Am I overlooking built-in library functionality that should obviate the need for that manual lookup step?Thanks!