Answer the question
In order to leave comments, you need to log in
RabbitMQ + MacOS + PHP: Sending a message to the queue takes 8 seconds. What can be wrong?
When sending a message to a queue, it always takes 8 seconds to establish a connection. I run in 3 different terminals:
1. rabbitmq-server
2. php receive.php
3. php send.php
OS X El Capitan.
Slow line:
$connection = new AMQPStreamConnection('127.0.0.1', 5672, 'guest', 'guest');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question