Skip to content

Instantly share code, notes, and snippets.

@celldee
Created December 9, 2012 21:58
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/4247204 to your computer and use it in GitHub Desktop.
Save celldee/4247204 to your computer and use it in GitHub Desktop.
Bunny - publish message with per-message TTL
q.publish('test message', :expiration => "60000") # message will reside in queue maximum 1 minute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment