We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cfbb522 + 254125a commit 9a52d55Copy full SHA for 9a52d55
RabbitMq/BaseAmqp.php
@@ -80,7 +80,7 @@ public function reconnect()
80
*/
81
public function getChannel()
82
{
83
- if (empty($this->ch)) {
+ if (empty($this->ch) || null === $this->ch->getChannelId()) {
84
$this->ch = $this->conn->channel();
85
}
86
0 commit comments