You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/transport/amqp_lib.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,7 +292,7 @@ It is not possible to implement heartbeat feature in PHP, due to its synchronous
292
292
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).
293
293
294
294
`enqueue/amqp-lib` address the issue by registering heartbeat call as a [tick callbacks](http://php.net/manual/en/function.register-tick-function.php).
295
-
To make it work you have to wrapp your long running task by `decalre(ticks=1) {}`.
295
+
To make it work you have to wrapp your long running task by `declare(ticks=1) {}`.
296
296
The number of ticks could be adjusted to your needs.
0 commit comments