Skip to content

Instantly share code, notes, and snippets.

@celldee
Created December 10, 2012 20:13
Show Gist options
  • Save celldee/4253037 to your computer and use it in GitHub Desktop.
Save celldee/4253037 to your computer and use it in GitHub Desktop.
Bunny - specify heartbeat in secs
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