From fe936b2166ef00d10c824d0ee8b6c82cca9db5f3 Mon Sep 17 00:00:00 2001 From: aynsix Date: Tue, 21 Dec 2021 17:45:24 +0300 Subject: [PATCH] test --- lib/Alchemy/Phrasea/WorkerManager/Queue/AMQPConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/WorkerManager/Queue/AMQPConnection.php b/lib/Alchemy/Phrasea/WorkerManager/Queue/AMQPConnection.php index 3fd5e31e52..c7f60ab592 100644 --- a/lib/Alchemy/Phrasea/WorkerManager/Queue/AMQPConnection.php +++ b/lib/Alchemy/Phrasea/WorkerManager/Queue/AMQPConnection.php @@ -310,7 +310,7 @@ class AMQPConnection public function getConnection() { - if (!isset($this->connection)) { + if (empty($this->connection)) { try { $heartbeat = $this->hostConfig['heartbeat'] ?? 60;