smoench/messenger-idle-doctrine-close-connection

Provides an idle based doctrine close connection

Maintainers

Package info

github.com/smoench/messenger-idle-doctrine-close-connection

pkg:composer/smoench/messenger-idle-doctrine-close-connection

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-01 00:31:37 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.