Skip to content

typo #1026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 17, 2020
Merged

typo #1026

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/transport/amqp_lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ It is not possible to implement heartbeat feature in PHP, due to its synchronous
You could read more about the issues in post: [Keeping RabbitMQ connections alive in PHP](https://blog.mollie.com/keeping-rabbitmq-connections-alive-in-php-b11cb657d5fb).

`enqueue/amqp-lib` address the issue by registering heartbeat call as a [tick callbacks](http://php.net/manual/en/function.register-tick-function.php).
To make it work you have to wrapp your long running task by `decalre(ticks=1) {}`.
To make it work you have to wrapp your long running task by `declare(ticks=1) {}`.
The number of ticks could be adjusted to your needs.
Calling it at every tick is not good.

Expand Down