-
Notifications
You must be signed in to change notification settings - Fork 1k
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
v3.3.0 heartbeat error #1029
Comments
I even tried with $heartbeat set to 300 (since I may have really long consuming time for a message), and the server still closed the connection after 60 seconds. I had to roll back to php-amqplib v3.2.0. Version info: |
Hi @tlamy, the $heartbeat of 300 is really 300 microseconds. |
@dominicchinkh microtime(true) isn't microseconds.
|
@tlamy, you are right. I miss the PHP doc. |
Version(s) affected: 3.3.0
Description
After upgrading from 3.2.0 to 3.3.0 our consumers die on a regular basis. From our logs:
(The first log line is from our PHP consumer, the latter ones from rabbitmq running with +02:00 timezone offset).
Connections are created using
$heartbeat
parameter set to 0, which worked properly with v3.2.0.So it seems to me the client can no longer disable heartbeats by setting the parameter to 0?
The text was updated successfully, but these errors were encountered: