In order to implement this we have to signify that we want to use heartbeats when the connection is setup: conn = Connection(rabbit_url, heartbeat=10) By specifying heartbeat=10 we are saying to the server that we want to send heartbeats in 10 second intervals.