Skip to content

Conversation

@basert
Copy link
Contributor

@basert basert commented Feb 7, 2025

Allows to configure AMQP heartbeats: https://www.rabbitmq.com/docs/heartbeats

When using heartbeat the client needs to periodically call checkHeartBeat, for example:

$amqp = new Queue\Broker\AMQP(heartbeat: 300);
$amqp->configureConnection(function (AbstractConnection $connection) {
  Timer::tick(10_000, fn () => $connection->checkHeartBeat());
});

@basert basert merged commit f82d2f2 into main Feb 7, 2025
1 check passed
@christyjacob4 christyjacob4 deleted the amqp-use-quorum-queues branch February 7, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants