thephpleague / tactician-doctrine

Tactician plugins for the Doctrine ORM, primarily transactions
MIT License
57 stars 13 forks source link

add PingConnectionMiddleware to reconnect in case the connection expires #25

Closed monteiro closed 5 years ago

monteiro commented 5 years ago

This is used specially in workers, where if you dont do queries to the database for more than 8 hours, the connection expires. This middleware will reconnect in case that happens

Closes #24

rosstuck commented 5 years ago

Sorry for the delay, I've been on the road a lot the last few days. Will tag a new release shortly. :)

rosstuck commented 5 years ago

And thanks again, A++++ PR, would merge again :D

monteiro commented 5 years ago

No worries @rosstuck , you don't need to apologize. I understand that in opensource everyone has a life, so patience should be a virtue when the work is free. Thanks again!