This commit is contained in:
aynsix
2021-12-21 17:45:24 +03:00
parent ad26b3a0a4
commit fe936b2166

View File

@@ -310,7 +310,7 @@ class AMQPConnection
public function getConnection()
{
if (!isset($this->connection)) {
if (empty($this->connection)) {
try {
$heartbeat = $this->hostConfig['heartbeat'] ?? 60;