Skip to content

Commit 692ef21

Browse files
author
webmake
committed
Fix ping to check each connection, not only first one
(cherry picked from commit 72d4097)
1 parent efcc054 commit 692ef21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/enqueue-bundle/Consumption/Extension/DoctrinePingConnectionExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function onPreReceived(Context $context)
3737
}
3838

3939
if ($connection->ping()) {
40-
return;
40+
continue;
4141
}
4242

4343
$context->getLogger()->debug(

0 commit comments

Comments
 (0)