rabbitmq / rabbitmq-objc-client

RabbitMQ client for Objective-C and Swift
https://rabbitmq.com
Other
241 stars 85 forks source link

Client sends regular heartbeat negotiated with server #17

Closed camelpunch closed 8 years ago

michaelklishin commented 8 years ago

Heartbeat interval is negotiated between client and server.

camelpunch commented 8 years ago

Yes. I saw the negotiation happening in Bunny. Is that implementation sufficient?

michaelklishin commented 8 years ago

Bunny should do the same thing as Java client.

michaelklishin commented 8 years ago

Note that what is called "heartbeat interval" is actually "heartbeat timeout" in some clients, for historical reasons. I'd recommend copying what Java client and Bunny do.

kjnilsson commented 8 years ago

tested.