Created
December 10, 2012 20:13
-
-
Save celldee/4253037 to your computer and use it in GitHub Desktop.
Bunny - specify heartbeat in secs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conn = Bunny.new(:heartbeat => 30) | |
# or | |
conn = Bunny.new(:heartbeat_interval => 30) | |
# or | |
conn = Bunny.new(:requested_heartbeat => 30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment