Skip to content

Instantly share code, notes, and snippets.

@celldee
Created December 9, 2012 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celldee/4247130 to your computer and use it in GitHub Desktop.
Save celldee/4247130 to your computer and use it in GitHub Desktop.
Bunny - declare queue with queue TTL
q = b.queue('testq', :arguments => {"x-expires" => 120000}) # idle queue expires after 2 mins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment