Created
December 9, 2012 21:33
-
-
Save celldee/4247130 to your computer and use it in GitHub Desktop.
Bunny - declare queue with queue TTL
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
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