smoench/messenger-idle-doctrine-close-connection

Provides an idle based doctrine close connection

dev-master 2020-05-28 15:05 UTC

This package is auto-updated.

Last update: 2024-11-29 06:10:11 UTC


README

The combination of DoctrinePingConnectionMiddleware and DoctrineCloseConnectionMiddleware on a queue with periodically incoming thousands of messages at the same time will results to heavy I/O operations. This subscriber will only close the connection when the worker is in idle mode insteadof close the connection after each message.