Skip to content

Commit 63171f5

Browse files
rgoodingbajb
authored andcommitted
Now only disconnects the PUSH connection on a timeout waiting for publish acks (#15)
1 parent 53d3d88 commit 63171f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/Amqp/AmqpQueueProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function pushBatch(array $batch, $persistent = null)
180180
}
181181
catch(\Exception $e)
182182
{
183-
$this->disconnectAll();
183+
$this->disconnect(self::CONN_PUSH);
184184
if($autoDeclare
185185
&& ($declareAttempts < $declareRetryLimit)
186186
&& ($e->getCode() == 404)

0 commit comments

Comments
 (0)