phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

long running process doctrine connection listener

Open alli83 opened this issue 2 years ago • 0 comments

linked to https://github.com/symfony/symfony/pull/53214

This pull request introduces a solution based on the RoadRunner bundle's Doctrine ORM/ODM middleware https://github.com/Baldinof/roadrunner-bundle/blob/3.x/src/Integration/Doctrine/DoctrineORMMiddleware.php. It checks the status of Doctrine connection, then if the connection is initialized and connected, it performs a 'ping' to check its viability. If the ping fails, it closes the connection.

alli83 avatar Dec 26 '23 11:12 alli83