Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SMK-1394: Infinite loop on close connection (#4)
This is affecting consumers when it takes more than 2*heartbeat time to process a message. When trying to close the connection, library will: * check the heartbeat * detect that it passed more than 2*times the heartbeat value without receiving anything * considers that server has gone away and tries to reconnect * after reconnecting as it is not clearing internal variables with time of last read, it will check the heartbeat again and try to reconnect again in loop. There are already issues on the library's github: php-amqplib#309 and php-amqplib#413
- Loading branch information