Skip to content

Instantly share code, notes, and snippets.

@celldee
Created December 9, 2012 22:07
Show Gist options
  • Save celldee/4247233 to your computer and use it in GitHub Desktop.
Save celldee/4247233 to your computer and use it in GitHub Desktop.
Bunny - declare queue with per-queue message ttl
q = b.queue('testq', :arguments => {"x-message-ttl" => 60000}) # messages are deemed dead after 60 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment